3 ms·
Interesting pattern but it sounds like it's fundamentally incompatible with setups using embassy https://embassy.dev/ https://embassy.dev/
by waterTanuki 3mo ago
Interesting pattern but it sounds like it's fundamentally incompatible with setups using embassy
https://embassy.dev/ https://embassy.dev/
- bigfishrunning 3mo agoWhy would that be? one of the nice features of the sans-io pattern is that it seperates your HAL from the program itself; if your state machine says "send a network packet", send it using embassy (or tokio or bsd-sockets or whatever). The underlying libraries have little or no bearing on "write your program as a big synchronous state-machine" same goes for "wait 10 ms" or "change this gpio pin".