I have a dumb question - I Just hooked up a 100K pot to analog input 01, but Get_Analog_Value(rc_ana_in01) is only returning values from 0-9, and it definitely is not linear. This is the (very simple) code we're using just to test:
Code:
printf("%u\n", Get_Analog_Value(rc_ana_in01));
Am I missing something important here? Is there something wrong with the pot? (It's wired correctly)
Thanks