Quote:
|
Originally Posted by TeknoBramha
analog1 = Get_Analog_Value(rc_ana_in01) << 2);
/
|
I think your 'shift' is the wrong way - that is a shift left, which will push the 10 bit ADC input up to a 12 bit number;
usually you want to knock the Analog inputs down to 8 bits from 10, a shift right (arrows to the right) >>2;
:^);