|
Analog Input Trouble
My co-programmer and I are having some trouble with the RC. We've tried both a potentiometer and a gyro connected to the first analog input. I tried to get the raw value using:
Code:
printf("Raw value: %d\n", Get_Analog_Value(rc_ana_in01));
but it just prints -1. Any suggestions ?
Using newest compiler/IDE, firmware's updated and we're using newest default code.
__________________
Matt Krass
If I suggest something to try and fix a problem, and you don't understand what I mean, please PM me!
I'm a FIRST relic of sorts, I remember when we used PBASIC and we got CH Flightsticks in the KoP. In my day we didn't have motorized carts, we pushed our robots uphill, both ways! (Houston 2003!)
|