Example II: A sequential system
Behavior:
- Punch in 3 values in sequence and the door opens
- If there is an error the lock must be reset
- After the door opens the lock must be reset
Data:
- Inputs: sequence of number values, reset
- Outputs: door open/close
- Memory: must remember the combination between uses!