Script using _thread was unsuccess! it's bug ? #10195
Replies: 1 comment 8 replies
-
After a short inspection I see that your program has at least some bugs:
Exiting from the thread in a loop should finish the thread immediately, why the loop then? The micropython port to K210 is 'relatively' new. I just learnt that loboris did an independent port where he extended the threading capabilities. This seems to be inactive for over a year though. I see problems here: You seem not to be familiar with threading. So no problem: studying it is interesting. I did it just a few weeks ago. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
i'll try useing mic_array boards to test this program :
all run it's good! but run 3 minutes and just shut down self, sometime is 5 minutes or more. it's not any info reply on _thread modules. i don't know why! what happed? program just be silent close self. somebody know that? whatever thank!
by the way, the program create and runing for sipeed MaixPy K210 dock boads and mic_array board. the firmware packaging with micropython v1.13. take a look here:
core_board https://wiki.sipeed.com/soft/maixpy/en/develop_kit_board/maix_dock.html?highlight=k210%20dock
mic_array_board https://wiki.sipeed.com/soft/maixpy/en/develop_kit_board/module_microphone.html?highlight=mic_array
useing _thread effect video:
33fc9a75aa34b23aff4fa1159b4c84f8.mp4
Beta Was this translation helpful? Give feedback.
All reactions