|
Potentiometer issues
My team is trying to set up a string potentiometer and we are having trouble reading the voltage that it gives out. I tried running the robot in test mode to see all variables, and I see the potentiometer that we had in the code (and for some reason I also see the "potentometer" that we misspelled but fixed later) and it doesn't waver from ~0. I'm confused as to why this could be happening because when we check the voltage with a voltmeter, it is outputting the correct number of volts. Even when pulling on the screen it doesn't change. In the code all we have is something that just gets the potentiometer, the code doesn't do anything besides that.
Thanks in advance for your help!
|