Kunal2
Junior Member level 3
Hello
I have a PIC 16F877A with a 10 bit ADC. I want to use USART for communication but the data to be sent can be of 8 bits only. So how can make a PIC wth a 10-bit ADC give me an ADC result of 8-bit i.e for 10 bit ADC, 5V = 1024; i want it to be 8 bit ADC with 5V represented by 256.
However it would be appreciated if someone could tell be whether with 10 bit ADC, it is possible to transmit data via USART specifying that 8 bits of data is to be used.
Thanks.
Kind regards
Kunal
I have a PIC 16F877A with a 10 bit ADC. I want to use USART for communication but the data to be sent can be of 8 bits only. So how can make a PIC wth a 10-bit ADC give me an ADC result of 8-bit i.e for 10 bit ADC, 5V = 1024; i want it to be 8 bit ADC with 5V represented by 256.
However it would be appreciated if someone could tell be whether with 10 bit ADC, it is possible to transmit data via USART specifying that 8 bits of data is to be used.
Thanks.
Kind regards
Kunal