Friday, 15 December 2017

State Diagram of Digital Watch

Draw the State Diagram


Digital Watch
Consider a simple digital watch which has a display and two buttons to set it, the A button and the B
button. The watch has two modes of operation, display time mode, the watch displays hours and
minutes, separated by a flashing colon. The set time mode has two sub modes: set hours and set
minutes. The A button selects modes. Each time it is pressed, the mode advances in sequence: display,
set hours, set minutes, display etc. Within the sub modes, the B button advances the hours or minutes
once each time it is pressed. Buttons must be released before they can generate another event.

Answer:
State Chart Diagram


No comments:

Post a Comment