Page 1 of 1

MicroPython Thread Problem?

Posted: Tue Jun 15, 2021 5:56 am
by Jackli
I want to use the thread function and the system throws an error

Code: Select all

MicroPython v1.9.4-775-gf350b640a on 2019-02-18; PYBv1.1-YD407VG with STM32F407VG
Type "help()" for more information.
>>> import _thread
Traceback (most recent call last):
 File "<stdin>", line 1, in <module>
ImportError: no module named '_thread'
>>>
>>>
Does anyone know how to fix it?

Re: MicroPython Thread Problem?

Posted: Tue Jun 15, 2021 6:08 am
by stijn

Re: MicroPython Thread Problem?

Posted: Tue Jun 15, 2021 7:45 am
by Jackli
stijn wrote:
Tue Jun 15, 2021 6:08 am
Which port? Have you seen e.g. viewtopic.php?f=16&t=8900&p=50268&hilit ... ing#p50268?
Thank you so much for your reply, I haven't read this post yet and I think this might solve my problem, thanks a lot!