hal-sim - embedded-hal Simulator
Go to this page and click the "DEMO" there link to see the simulator in action!
This crate simulates a small portion of the embedded-hal traits. Namely:
- GPIO (both e-hal V0.2 and e-hal V1.0 traits, including the async
Wait
trait) - ADC (only e-hal V0.2, as there are no standard traits for ADC in e-hal V1.0 yet)
Additionally, it also contains an embedded-graphics Display driver simulator.
The purpose of this simulator is to ease embedded development by enabling cross-compilation of embedded projects on a X86 target (PC) or for WASM.