SSC-32 Servo Controller icon SSC-32 Servo Controller ARC integration for SSC-32 servo controllers via PC COM or EZ-B/Arduino UART; maps V0-V31, configurable baud, enables servos in ARC skills. Try it →
Asked — Edited
Problem With If

I was trying to script with an "if" command and in the script functions it says if (adc[port])[condiction][value]) in the sample it says if(adc(adc2)>50) and leaves out the value the text says that the value is a user defined integer Can someone give me a correct example and explain what the interger is or represents?

User-inserted image


ARC Pro

Upgrade to ARC Pro

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

Author Avatar
PRO
Synthiam
LinkedIn Thingiverse Twitter YouTube GitHub
#1  

Put a space between parameters (Between adc(adc) and > and 50)


if (adc(adc2) > 50)