Are you using 10 bit or 8 bit AD?
and what exactly have you done with ADRESH?
Are you trying to take just ONE sample (three times) and save it?
or are you trying to take an EEPROM page full of samples, and save three pages worth?
As a final thought, if you're only taking a few samples, why are you using an external EEPROM instead of the PIC's internal EEPROM?
Bookmarks