M3GAPL3X
Junior Member level 3
adc result registers justified
Hi guys,
Quick question. What is the best way for me to convert a 10 bit ADC result (it uses two registers - ADRESL and ADRESH to store the results in either a left or right justified manner) into 8 bits? I will need to take that 10 bit ADC result and eventually send it over serial.
Any guidance would be much appreciated!
Hi guys,
Quick question. What is the best way for me to convert a 10 bit ADC result (it uses two registers - ADRESL and ADRESH to store the results in either a left or right justified manner) into 8 bits? I will need to take that 10 bit ADC result and eventually send it over serial.
Any guidance would be much appreciated!