filmov
tv
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:
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
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
Raspberry Pi Pico W LESSON 1: Write Your First Program for Absolute Beginners
Raspberry Pi Pico W LESSON 84: Debounce Pushbutton Switches Using Interrupts
Raspberry Pi Pico W LESSON 88: Understanding PIO State Machine Push, Pull, Put and Get
Raspberry Pi Pico W Getting Started Tutorial || Wireless Wi-Fi Connectivity to RP2040 Board
Raspberry Pi Pico - A Beginners Guide
Raspberry Pi Pico W LESSON 83: Using Interrupts in Micropython
Raspberry Pi Pico W LESSON 66: Create Your Own Libraries in Micropython
Raspberry Pi Pico W LESSON 70: Example of Cleanly Exiting Dual Core Program in MicroPython
Raspberry Pi Pico W LESSON 73: Control a RGB LED Using a Dictionary in MicroPython
Raspberry Pi Pico W LESSON 3: Understanding and Using Binary Numbers
Raspberry Pi Pico W LESSON 5: Reading Analog Voltages Using a Potentiometer
Raspberry Pi Pico W LESSON 87: Introduction to Raspberry Pi Pico PIO and State Machines
Raspberry Pi Pico W LESSON 63: Object Oriented Programming in MicroPython with Classes and Methods
Raspberry Pi Pico W LESSON 64: Object Oriented Programming Example in MicroPython with LEDs
Raspberry Pi Pico W LESSON 75: Using an Infrared IR Remote Control in MicroPython
Raspberry Pi Pico W LESSON 82: Create an LED Binary Counter Using Only Timers
Raspberry Pi Pico W LESSON 23: Temperature and Humidity Sensor with LCD Display
Raspberry Pi Pico W LESSON 72: Understanding Using Dictionaries in MicroPython
Raspberry Pi Pico W LESSON 80: Creating and Using Timers in Projects
Raspberry Pi Pico W LESSON 78: Control NeoPixel Array Using an Infrared IR Remote in MicroPython
Raspberry Pi Pico W LESSON 65: Create a Servo Class and Method in MicroPython
Raspberry Pi Pico W LESSON 6: Understanding If Statements in MicroPython
Raspberry Pi Pico W LESSON 67: Use Both Cores on Your Pi Pico with MicroPython
Raspberry Pi Pico W LESSON 61: How to Write Modular Code With Micropython Functions
Комментарии