Serout while interrupt?

Status
Not open for further replies.

cybersky

Member
Hi
I have made a simple datalogger using an RTC with EEPROM and 12f629.
Data logging is all working but i have a small problem.
I want to send the data to the pc via serial (which i have done) but i am afraid of losing input from the datalogging which happens 24/7 with some breaks at random times.
So this is what happens.
1.check for gpio.3 to go high
2.if high get time and save to eeprom
3. wait for gpio.3 to go low
4.if it goes low get time and save to eeprom
5.repeat

So i need to add a send to pc somewhere without losing any input pulses.
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…