I would like to check the voltage level of a 1.5 Volt battery with the ADC function of a Atmega16 ,and send it via the UART to a pc.
I have enough with 8 bits, and will not use the 2 least
significant bits. ( 10 bits ADC )
I have set the ADLAR bit:
if the result is left adjusted and no more than 8-bit precision is required, it is sufficient to read ADCH."
iota() looks a usefull function but this for an
What can I do If I would like to convert only 8 bits to asci ?