Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Altera_Forum
Honored Contributor I
777 Views

Digital Alarm Clock

I have attached my code, clock counts up from zero and the switch starts the counter. I can't figure out how to set the KEY[3:0] to set the hours, and minutes. Also can't figure out how to display a separate alarm with the flip of a switch. Can someone help me?

0 Kudos
2 Replies
Altera_Forum
Honored Contributor I
59 Views

Hey. 

 

You need to make a time setup menu, in which you can use the buttons to adjust the time. In this case, the time counter must be stopped.
Altera_Forum
Honored Contributor I
59 Views

I also do the clock until I realize the second count. Later I will add buttons. I can share the source, as I will finish.

Reply