I need to measure the time a button is pressed and store this to non volatile memory in a PIC 08
I'm trying to drive two relays with different time intervals programmed from a single push button. A single LED to provide feedback.
The programming sequence would be: 1st press Enter programming mode; 2nd press duration = Relay1 On time; 3rd press duration = Relay2 On time; 4th press duration = interval between Relay1 & Relay2. These durations need to survive power interruptions.
Any thoughts, ideas or experience gratefully received.
Matthew
I'm trying to drive two relays with different time intervals programmed from a single push button. A single LED to provide feedback.
The programming sequence would be: 1st press Enter programming mode; 2nd press duration = Relay1 On time; 3rd press duration = Relay2 On time; 4th press duration = interval between Relay1 & Relay2. These durations need to survive power interruptions.
Any thoughts, ideas or experience gratefully received.
Matthew