This folder realises a simple microwave oven in rust
- state diagram was created with the built-in state machine editor
- a simple timer service was implemented to realise time behaviour
- code was tested on Mac but should run as well on other Rust supported platforms

Build the code with 'cargo run'
Then send commands e.g.:

+++++c↵

This adds 5s to the cooking time. Then 'c' closes the door.
If you wait 5s the state machine received a timeout event
and reacts according to the state machine.



Type in o↵ after 2 seconds. This opens the door and pauses the
timer. Typing c↵ then closes the door again and continues the timer.

Shell commands showing how to generate the Rust code from the 
UML state diagram are available in 'src/oven/edit.sh' and
'src/oven/generate_fsm.sh'. Eventually you must adjust the commands
depending on your system.
