ARC Pro

Upgrade to ARC Pro

Get access to the latest features and updates before they're released. You'll have everything that's needed to unleash your robot's potential!

#1  

Add the ultrasonic sensor control or use in a script..


repeatuntil(0)
$dist=GetPing(D0,D1) #choose other ports if you want
print($dist)
sleep(250)
endrepeatuntil