Community Question

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.
DJ Sures
Commented September 2013

Code:


print(GetADC(adc2))

Robot Doc
Commented September 2013
Thanks DJ !
Robot Doc
Commented September 2013
Onward & upward
Question
AvatarRobot Doc
Asked on Monday, September 23, 2013