WStevens_sa
Member level 2
- Joined
- Jan 5, 2011
- Messages
- 47
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,286
- Location
- South Africa
- Activity points
- 1,695
Hi all
Please can you point me in the correct direction. I have a PIC16f877 programmable RTC timer with 2 x 16 LCD displayed with eg "MON 14:56". I have figured out everything I need so far and have written the code for it and tested with simulator. It all works well.
I want to create a startup / program mode. When the timer is initially started up for the first time nothing will be set. For example the day and time will be displayed as "--- --:--" and the 8 configurable timers will be disabled.
Long story short. If I push the mode button it will take me through the steps of programming the timer.
I have know idea where to start. I would appreciate any help, links or documentation just to get an idea where to start.
Please can you point me in the correct direction. I have a PIC16f877 programmable RTC timer with 2 x 16 LCD displayed with eg "MON 14:56". I have figured out everything I need so far and have written the code for it and tested with simulator. It all works well.
I want to create a startup / program mode. When the timer is initially started up for the first time nothing will be set. For example the day and time will be displayed as "--- --:--" and the 8 configurable timers will be disabled.
Long story short. If I push the mode button it will take me through the steps of programming the timer.
- Press mode button for 2 seconds and it enters setup mode.
- Cursor moves to the LCD position where the day value is displayed.
- By using up down button set the day. eg (mon, tues, etc)
- Press mode button again it takes you to the hours. use up/down button to set hours
- And this will occur with the setting up of the timers too.
- If the setup mode is idle for more then 3 seconds it must go back to normal mode
I have know idea where to start. I would appreciate any help, links or documentation just to get an idea where to start.