Getrss icon Getrss — Fetch RSS via GetRSS command; populates $RSSSuccess, $RSSErrorMsg and arrays $RSSTitles, $RSSDescriptions, $RSSLinks, $RSSDates for scripts. Try it →

ARC Pro

Upgrade to ARC Pro

Discover the limitless potential of robot programming with Synthiam ARC Pro – where innovation and creativity meet seamlessly.

#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