Bizzare
Newbie level 4
Hi guys I'm currently using a P16F877A and set up a frequency counter program which uses the CCP1 module and interrupt to capture a reading and then write the reading into external eeprom.
I disable all interrupts before writing and reading the data from the eeprom and the values im getting from the eeprom are wrong. When I just printf the readings straight to the screen via rs232 im getting accurate values.
I will be able to post the code tomorrow, but just wondered if there was something I have missed as I don't think my code is off it's simply something I am missing..
Any help is appreciated thanks in advance.
I disable all interrupts before writing and reading the data from the eeprom and the values im getting from the eeprom are wrong. When I just printf the readings straight to the screen via rs232 im getting accurate values.
I will be able to post the code tomorrow, but just wondered if there was something I have missed as I don't think my code is off it's simply something I am missing..
Any help is appreciated thanks in advance.