YoVDO

How to Use Asyncio in MicroPython - Raspberry Pi Pico

Offered By: Digi-Key via YouTube

Tags

MicroPython Courses Raspberry Pi Courses Microcontrollers Courses

Course Description

Overview

Learn how to implement cooperative multitasking in MicroPython using the uasyncio library on a Raspberry Pi Pico. Explore the differences between cooperative and preemptive multitasking, and discover how to create multiple tasks within a single program. Follow along as the tutorial demonstrates reading button presses and blinking an LED simultaneously, as well as using a queue for inter-task communication. Gain insights into coroutines, the async/await keywords, and the event loop structure. By the end of this 25-minute video, you'll have a solid understanding of asyncio implementation in MicroPython and be able to optimize processor utilization in your own projects.

Syllabus

Intro
concurrency and preemptive multitasking
cooperative multitasking
Asyncio
Demo
Button
Queue


Taught by

Digi-Key

Related Courses

Comprendre les Microcontroleurs
École Polytechnique Fédérale de Lausanne via Coursera
Electronic Interfaces: Bridging the Physical and Digital Worlds
University of California, Berkeley via edX
Arduino y algunas aplicaciones
Universidad Nacional Autónoma de México via Coursera
Embedded Systems Design
Indian Institute of Technology, Kharagpur via Swayam
Enseignes et afficheurs à LED
École Polytechnique Fédérale de Lausanne via Coursera