princejude
Newbie level 3
Hello Please can anyone help me with suggestions, ideas, sample codes or links on how to complete this my project.
I want to design a DS1302 RTC based digital clock using PIC16F887 and 7-segment display. I have designed the circuit and the code using CCS C Compiler. The clock is working but the issue I have is how to include the Time setting in my code. I will like to set the time with 3 push-button switches, one switch to select the mode (hour or minute) the next switch is to increase the value selected and the next switch is to decrease the value.
My Schematic and code is here:
I want to design a DS1302 RTC based digital clock using PIC16F887 and 7-segment display. I have designed the circuit and the code using CCS C Compiler. The clock is working but the issue I have is how to include the Time setting in my code. I will like to set the time with 3 push-button switches, one switch to select the mode (hour or minute) the next switch is to increase the value selected and the next switch is to decrease the value.
My Schematic and code is here: