When I attempt to import the _thread module, I am unfortunately met with the
Code: Select all
ImportError: no module named '_thread'
error. Am I correct in assuming that this means the library is not available? I am not sure what the requirements of _thread are, but I am fairly sure the STM32L475VG MCU on my board is capable of running it as I have used it to run some fairly RAM-intensive FreeRTOS programs in the past. Granted, that was in C and I am sure the interpretation of Python certainly adds a layer of complexity. Perhaps it has simply not been implemented for my board-specific port.
In any case, from the small amount of sniffing around that I have done on the forums, it seems like I am probably better off using uasyncio anyways. Would have liked to try my hand at writing a _thread application, but on the bright side this will likely save me hours of pain.