Peter_wadley
New Member
Hey,
I just wrote my first AD converting program for the 877a..
I need help on how to analyze the 10bits of ADRESH and ADRESL...
How do we analze 10bits when W can only hold 8bits?
Just to make sure my program works I left justified the output.. Then I used only the bits in ADRESH to ensure proper function.
Everything worked fine (Used a POT to turn on 3 LEDs sequentially)
I also couldnt find this on PIClist.
So how do you analyze 10bits with an 8bit MCU?
Thank you
I just wrote my first AD converting program for the 877a..
I need help on how to analyze the 10bits of ADRESH and ADRESL...
How do we analze 10bits when W can only hold 8bits?
Just to make sure my program works I left justified the output.. Then I used only the bits in ADRESH to ensure proper function.
Everything worked fine (Used a POT to turn on 3 LEDs sequentially)
I also couldnt find this on PIClist.
So how do you analyze 10bits with an 8bit MCU?
Thank you
Last edited: