eng.aymanaly
Newbie level 2
pic 16f628 coundown timer
Hi all.....I've built the countdown timer in this sitehttps://www.turbokeu.com/myprojects/countdown3.htm and modified it a little bit to work with 4" and 2.3" displays.
But I want to add 2 new press buttons (while keeping the original buttons in the schematic as they are) one to set the timer to 15 mins and the second to set it to 30 mins then the timer should starts to countdown imediately and when reachs 5 mins activate the relay on RB5 (instead of it being on all time)
I don't know how to modify the code to do that, so your help will be so much appreciated
PS. we can use the internal oscillator and use the 2 pins to be I/O for the new buttons
thanks in advance
Hi all.....I've built the countdown timer in this sitehttps://www.turbokeu.com/myprojects/countdown3.htm and modified it a little bit to work with 4" and 2.3" displays.
But I want to add 2 new press buttons (while keeping the original buttons in the schematic as they are) one to set the timer to 15 mins and the second to set it to 30 mins then the timer should starts to countdown imediately and when reachs 5 mins activate the relay on RB5 (instead of it being on all time)
I don't know how to modify the code to do that, so your help will be so much appreciated
PS. we can use the internal oscillator and use the 2 pins to be I/O for the new buttons
thanks in advance