ports\stm32\boards\ZT_L476RG\mpconfigboard.h
//THREAD
#define MICROPY_PY_THREAD (1)
#define MICROPY_PY_THREAD_GIL (1)
import _thread
import time
def testThread():
while True:
print("Hello from thread")
time.
micropython多线程
最新推荐文章于 2024-01-17 09:58:49 发布