Threading
MicroPython supports spawning threads by the _thread
module. The following example demonstrates the use of this module. A thread is simply defined as a function that can receive any number of parameters. Below 3 threads are started, each one perform a print at a different interval.
Using Locks:
Last updated