Raspberry Pi Pico W LESSON 70: Example of Cleanly Exiting Dual Core Program in MicroPython

preview_player
Показать описание
You guys can help me out over at Patreon, and that will help me keep my gear updated, and help me keep this quality content coming:

In this class we will be using the Sunfounder Raspberry Pi Pico W Keppler Kit. It will make things a lot easier if we are working on identical hardware. the link below is to amazon, and is for the identical hardware I will be using in this entire class.

In this video, I will show you how to use both cores on the Raspberry Pi Pico W with threading. I show how threading can be used to use both Pi Pico Cores. I will demonstrate this with a an example where a red LED blinks while the servo moves counter-clockwise, and a green LED blinks while the servo moves clockwise. I will then show how to cleanly exit the program where the thread cleanly terminates before the main program stops. This gets away from many of the problems people are having with dual cores and threading. For the example in this lesson we demonstrate controlling a servo with a pushbutton toggle switch.

#raspberrypipicow
#micropython
#dualcore
Рекомендации по теме
Комментарии
Автор

I folded up as well on this one, Paul. I am looking forward once again, to see your solution. Great content!

DrDave
Автор

Looking forward to this. I made a mistake of saving a programme as main.py
I wanted alter a section of code but every time I "plugged it in" the "second" core ran and I couldn't get in to change values I wanted. I am a beginner ... Did I need to tell you that?

nigelworwood
Автор

I've posted a video for this lesson (and also one for lesson 69) but I can't include a link in this comment because you-know-who will delete it.😿
You'll have to find it yourself if you're interested.

charlotteswift
Автор

I folded like a cheap Walmart lawnchair...No excuses.

edSabio