Question: You are required to design a RTOS based Real - time digital alarm clock using the S 7 G 2 - SK . The basic
You are required to design a RTOS based Realtime digital alarm clock using the SG SK The basic clocks functionality follows the State Transition Diagram in Figure As there are no audible outputs on these boards, use two LEDs that flash alternately to signify an alarm condition. Use a third LED to give a visual output as to when the alarm is in a set condition. The alarm clock is limited to using two buttons to change the mode of operation, as indicated in State Transition Diagram. You are required to implement the alarm functionality in addition to the normal clock where the alarm clocks alarm can only be set or cleared in the Normal Display state; this is the only state that the alarm condition can be activated, which would require the alarm to be set and the actual time to match the alarm time. The alarm functionality is not indicated in the state transition diagram If the alarm has been activated then any of the two buttons will stop the alarm, taking it out of the set condition. If the alarm is not stopped by user interaction, then after one minute the alarm clock will automatically stop the LEDs toggling, again taking it out of a set condition. This one is my task and I want to set clock as per state diagram and when I pressed sw in normal display, alarm mode should be started and then i will set alarm also as per state diagram. how to mode change in this question when i pressed sw first time and then sw will be work for increment value.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
