50 likes | 183 Views
Automatic Lamps Control. Design the state machine to solve the next problem A customer is requesting a new functionality to control the front lamps of his new car. It will be controlled by the next inputs:. It has 3 states:. The default state must be Lights Off
E N D
Automatic Lamps Control • Design the state machine to solve the next problem • A customer is requesting a new functionality to control the front lamps of his new car. • It will be controlled by the next inputs: • It has 3 states: • The default state must be Lights Off • Transitions when selector is in Auto: • If the selector is moved to Parklamps, just the Parklamps must turn on • If the selector is moved to Headlamps, the Headlamps and Parklamps must turn on • If the selector is moved to Off, all the lights must turn off