It's a shame that '_thread' is so flaky and there's no 'threading' alternative with MicroPython which will support running more than one thread.
An alternative is to use 'async' but I haven't found the time to climb that learning curve yet.
My approach to running multiple servers and other events was to use a 'while forever' loop, polling on sockets, and checking event trigger times.
An alternative is to use 'async' but I haven't found the time to climb that learning curve yet.
My approach to running multiple servers and other events was to use a 'while forever' loop, polling on sockets, and checking event trigger times.
Statistics: Posted by hippy — Fri Apr 26, 2024 5:52 pm