Question
Implement a digital clock by team collaboration using Logicworks. You should implement following functions using 7 seven-segment displays with two switches. LED1, LED2, LED3, LED4,
Implement a digital clock by team collaboration using Logicworks. You should implement following functions using 7 seven-segment displays with two switches. LED1, LED2, LED3, LED4, LED4, LED5, and LED6. If you do not follow this layout, you cannot get any point.
- SW0 is used to switch modes following the sequence: time, and alarm clock
1. LED 5-6 (seconds) These are used to display seconds. The unit of second is modulus 2. When it reaches 60 (0,2,4, , 58) the minute will increase by 1 at daytime(A) and decrease by 1 at nighttime(P).
2. LED 3-4 (minutes) These are used to display minutes. The minute increase/decrease by one at every 60 seconds. One hour is 45 minutes. At day time minute increases 0, 1, 2, , 45 and at night time it decreases 45, 44, 43,,0. Make sure you have switch to insert any value.
3. LED 2 (hour) This is used to display hour. This is a single number and the hour increases by one(in 45 min hour will increase 1). Make sure to have a switch to insert any value. The hour has 5 states starts at 00.
4. LED 1 (hour) Display A for day time and P for night time. Make sure to have a switch to insert any value.
- Setting: users can set to any desired AM/PM, an hour, a minute, but not a second or millisecond. In this mode, users can set AM/PM first. If SW1 is pushed on, users can set an hour. If SW1 is again on, users can set a minute. If SW1 is pushed again, users can set AM/PM, and so on. - Alarm Clock: In this mode, initially all LEDs display at 0:0:00:00. If In this mode, users can set AM/PM first. If SW1 is pushed on, users can set an hour. If SW1 is again on, users can set a minute. If SW1 is pushed again, users can set AM/PM. If SW0 is pushed the alarm clock will store the inserted time and go back to the regular clock.
SW1 980000 SWO SW1 980000 SWO
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started