Welcome to Synthiam!

The easiest way to program the most powerful robots. Use technologies by leading industry experts. ARC is a free-to-use robot programming software that makes servo automation, computer vision, autonomous navigation, and artificial intelligence easy.

Get Started
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

Experience early access to the latest features and updates. You'll have everything that is needed to unleash your robot's potential.

AI Support Bot
Related Content
Synthiam
PRO
Synthiam
#1  
Put a space between parameters (Between adc(adc) and > and 50)

Code:


if (adc(adc2) > 50)