- Lamp
- On-Off Switch
- Sink
- Ticking Door
- Ticking Sensor
- Oven
- Fridge
- Unix-like
Each demo is an independent binary, which can be run with:
cargo run --bin <demo_name>
where <demo_name>
can be one of the following:
- fridge
- lamp
- on-off-switch-brightness-fade
- on-off-switch-brightness-float-fade
- on-off-switch-brightness-float
- on-off-switch-brightness
- on-off-switch-fade
- on-off-switch
- on-off-switch-toggle
- oven
- sink
- ticking-door
- ticking-sensor
It is possible to obtain some useful information from the running webserver
using the
RUST_LOG
environment variable. For instance, you can use the following to get some debug
information from a demo:
RUST_LOG=debug cargo run --bin <demo_name>