Quote:
Originally Posted by brennerator
So i just printf("Pot %d\r", Get_Analog_Value(rc_ana_in0*)); to display it?
|
Well, to clarify, you would replace * with the number of the analog input you put the potentiometer into. For example, if you plugged the potentiometer into analog input 1, you would put
Code:
printf("Pot %d\r", Get_Analog_Value(rc_ana_in01));
But you may have already known that.