The ESP8266 is a single threaded processor. This means it can only do one thing at a
time as there are no parallel threads that can be executed concurrently with each other.
For the OS to take control, without happening the WDT, expressiv system firmware, use yield () to pass control to the OS. In Micropython what would be the command or routine equivalent to yield () ???
Thanks
Yielding control - WDT
-
- Posts: 169
- Joined: Fri Aug 19, 2016 11:55 am
Re: Yielding control - WDT
None is needed. MicroPython does that automatically in between executing Python instructions.
Are you having a specific problem that is triggering the WDT, or are you just asking out of curiosity?
Are you having a specific problem that is triggering the WDT, or are you just asking out of curiosity?
Re: Yielding control - WDT
I'm having a specific problem that this triggering the WDT.Christian Walther wrote: ↑Sun Mar 24, 2019 10:02 pmNone is needed. MicroPython does that automatically in between executing Python instructions.
Are you having a specific problem that is triggering the WDT, or are you just asking out of curiosity?