Hi
The purpose of this question is only to learn how to create a state diagram.
Just assuming I have to create state diagram for traffic control system
Red light is indication for pedestrians to stop
Green light is indication for pedestrians to go straight
Yellow light is warning indication for pedestrians that signal is about to change to red
Red light will turn on only for 60 second's
Green light will turn on only for 40 second's
Yellow light will turn on only for 20 second's
I do not understand the transaction for system. I have shown necessary current and next state in table
The purpose of this question is only to learn how to create a state diagram.
Just assuming I have to create state diagram for traffic control system
Red light is indication for pedestrians to stop
Green light is indication for pedestrians to go straight
Yellow light is warning indication for pedestrians that signal is about to change to red
Red light will turn on only for 60 second's
Green light will turn on only for 40 second's
Yellow light will turn on only for 20 second's
I do not understand the transaction for system. I have shown necessary current and next state in table
Last edited: