EZ Chart icon EZ Chart — 4-series bar chart for real-time sensor comparison in ARC; set titles, values, RGB bar colors and conditional coloring via EZ-Script. 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:

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

Stay on the cutting edge of robotics with ARC Pro, guaranteeing that your robot is always ahead of the game.