With valuable help from ETO fellows, I completed my first 10bit ADC using PIC16F876 (see this Thread) Now I’m trying to implement the knowledge I gained there, to make another ADC, but with 8bit. Is it possible using the same PIC 16F876 ? Thanks.
During initialisation, make sure bit ADFM is cleared to zero in register ADCON1 (left justified). You can simply read register ADRESH to get the 8 bits that you want.
During initialisation, make sure bit ADFM is cleared to zero in register ADCON1 (left justified). You can simply read register ADRESH to get the 8 bits that you want.
If I want to send my ADC output to computer using parallel port, and I'll send it in form of 8-bit to read it in the computer as 5Volts, will the following work?