Ultrasonic Radar icon Ultrasonic Radar Ultrasonic on a servo sweeps 180°; radar shows distances and obstacles, integrates with movement panels for automatic avoidance, scriptable GetPing Try it →
Sweden
Asked — Edited

Radar Scanner

Hello!

I'm looking through the sample code "Tutorial 09 - Radar Scanner"

int val = _ezb.ADC.GetADCValue(ADC.ADCPortEnum.ADC0);

Gets the information from the ping sensor?

In you'r youtube video: https://www.youtube.com/watch?v=XneX8EIL_qk&list=UU2MNH3R1kVMTNZM184bah7g&index=44&feature=plcp

you have the sensor plugged into Digital.D0 and Digital.D1? How do I get that information from those ports by code?

Best regards.


ARC Pro

Upgrade to ARC Pro

ARC Pro is your gateway to a community of like-minded robot enthusiasts and professionals, all united by a passion for advanced robot programming.