HSM Example: Quantum Calculator
Primary Use Case
- Begin in state operand1
- Consumes and stores numerical entries (events)
- Event OP triggers transition to state opEntered
- Numerical event triggers transition to operand2
- EQUALS triggers transition to original "ready" state operand1
|
|
Oops: Need to display result
|