Hello Unregistered ,
Originally Posted by falingtrea Left shift 2 bits is my favorite way to do so. But you can only do this to an unsigned value. Shouldn't that be Right Shift 2 ?
Why not save the program space and execution time by using the ADC in 8-bit mode instead. Same result as far as I can see, ie throw away the the two least significant bits. /Henrik.
Forum Rules
Bookmarks