|
Re: RC Analog
Tried the Get_ADC_Result(1); and it does not compile. Went to the old code and used Get_Analog_Value(rc_ana_in01); and it does compile. I'm using the printf to see my value: example: printf ("Analog 1 = %i \r\n"' rc_ana_in01); and I'm not getting any readings from my IR sensors. I fell very confident the sensors are working correctly and I have it plugged to the Analog one port on the RC. What am I doing wrong??? How can I get the analog reading? Thanks for all of the help so far and I feel close to solving this problem.
|