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

Описание к видео Raspberry Pi Pico W LESSON 70: Example of Cleanly Exiting Dual Core Program in MicroPython

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:

  / paulmcwhorter  

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.

https://amzn.to/3ubMRs1

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.

[Disclosure of Material Connection: I am a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to amazon.com. ]

#raspberrypipicow
#micropython
#dualcore

Комментарии

Информация по комментариям в разработке