I was wondering if someone could help me write the bare bones to my 16f628a LCD driven countdown timer.
Essentially there are three buttons one to change the increment in minutes only (up to 60mins), a set digit button and finally a start/reset button. I figured the internal timer is good enough for this project, as timing precision isn't exactly critical.
LED1 will flash with every button press and when the timer is up.
LED2 and LED 3 will turn on when the timer is up.
I built this project as the next step in my learning curve, but I'm still getting to grips with the pic programming. Any snippets of code would be greatly appreciated.
Essentially there are three buttons one to change the increment in minutes only (up to 60mins), a set digit button and finally a start/reset button. I figured the internal timer is good enough for this project, as timing precision isn't exactly critical.
LED1 will flash with every button press and when the timer is up.
LED2 and LED 3 will turn on when the timer is up.
I built this project as the next step in my learning curve, but I'm still getting to grips with the pic programming. Any snippets of code would be greatly appreciated.
Attachments
-
126.3 KB Views: 175