Is there a working FSM library for micropython
Is there a working FSM library for micropython
I started looking at the transitions library (https://github.com/pytransitions/transitions) but it requires even more libraries to run. Just wondering if anyone has a go to finite state machine library they are using on micropython?
Re: Is there a working FSM library for micropython
Raspberry Pico microcontroller micropython supports (8) hardware state machines.
Pico-W Access Point static file webserver:
https://github.com/Hermann-SW/pico-w
Tiny MicroPython robots (the PCB IS the robot platform)
viewtopic.php?f=5&t=11454
webrepl_client.py
https://github.com/Hermann-SW/webrepl#webrepl-shell
https://github.com/Hermann-SW/pico-w
Tiny MicroPython robots (the PCB IS the robot platform)
viewtopic.php?f=5&t=11454
webrepl_client.py
https://github.com/Hermann-SW/webrepl#webrepl-shell
Re: Is there a working FSM library for micropython
I have considered porting transitions - it's a nice library - but ran into the same problems; it's not a trivial port!
One of my colleagues wrote Statechart that works on both Python and MicroPython. It's not as feature-rich as transitions but hopefully it'll satisfy your requirements.
One of my colleagues wrote Statechart that works on both Python and MicroPython. It's not as feature-rich as transitions but hopefully it'll satisfy your requirements.
Re: Is there a working FSM library for micropython
Thanks - I will see if I can make use of this one.mattyt wrote: ↑Mon May 03, 2021 2:42 amI have considered porting transitions - it's a nice library - but ran into the same problems; it's not a trivial port!
One of my colleagues wrote Statechart that works on both Python and MicroPython. It's not as feature-rich as transitions but hopefully it'll satisfy your requirements.