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
Resolved Resolved by DJ Sures!

Command To Print An Analog Port Value

Need a command to provide the numerical value of an analog port and print it. The need for this is to test a script when decision making to perform a certain task is based on the value of the port at a certain time while an IR sensor is connected to the port.


ARC Pro

Upgrade to ARC Pro

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

PRO
Synthiam
#1  

Code:


print(GetADC(adc2))