Should not be that hard. Your flowchart will be a good help. Will the timing be critical? From the look of your problem. I would probably have used the same approach as programming a clock. Putting the time keeping in an interrupt service routine. Maybe using a watch crystal. The 16f690 do have an internal oscillator. But it is not good for accurate timing

Should not be that hard. Your flowchart will be a good help. Will the timing be critical? From the look of your problem. I would probably have used the same approach as programming a clock. Putting the time keeping in an interrupt service routine. Maybe using a watch crystal. The 16f690 do have an internal oscillator. But it is not good for accurate timing

Click to expand...

Yes the timing accuracy isn't soo important. Anywhere from 50-70 min would be okay. are there examples anywhere for this timing ISR?