|
Re: HELP: analog input
I have been having the exact same issue. I tried IFI's ADC, Kevin Watson's integrated into my code, Kevin Watson's from his website(unmodified), and whatever EasyC uses.
They all read 0.
I have tried both the 2006 and 2007 controllers.
I have the pot connected so the 5v+/gnd each connect to one side of the pot, and the signal is connected to the middle connector on the pot.
If I short the gnd/sig pins the reading does NOT change.
I have used Kevin Watson's ADC without any issues before now. I have run it on VEX, EDU, and 2005 controllers.
I was at the Sussex mini-regional today and talked to 4-5 other programmers, and none of them had any ideas.
What am I missing?
Thanks,
Eric Haskins
__________________
Eric Haskins KC9JVH
|