ARC Pro

Upgrade to ARC Pro

Become a Synthiam ARC Pro subscriber to unleash the power of easy and powerful robot programming

#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