Award
Congratulations DJ Sures, for answering the question and has received an EZ-Credit award! Share what you have learned and create a tutorial to help others by clicking here.

Command To Print An Analog Port Value

Assistance Requested

Help Robot Doc with their question and receive $10 of EZ-Credit to get more robots and parts from our store. The following information was provided about their previous efforts searching tutorials for a resolution.

Robot Doc claims to have checked these sources:
 
#1

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.

I have found a few conversations, tutorials and activities that may help with your question. Take a look at these links. I've sorted them by what I believe to be most relevant but that is not always the case as I'm still learning.


Also, consider reviewing the Learn section for informative lessons and activities. Check it out!


#2

Code:


print(GetADC(adc2))

#3

Thanks DJ !

#4

Onward & upward