Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

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.

Latest threads

New Articles From Microcontroller Tips

Back
Top