Raspberry Pi Pico using MicroPython - Tutorial #2: Button Inputs (Digital Inputs and Interrupts)

Аватар автора
Питоновский язык инноваций
The Raspberry Pi Pico is a new flexible microcontroller board from Raspberry Pi. It is a tiny, fast, and versatile board built using RP2040, a brand new microcontroller chip designed by Raspberry Pi. In this video, we go over digital inputs using micropython on the Pico by taking input from a micro push button using the value() method in a while loop and also by using interrupts. The IDE used is Thonny. Chapters: 00:00 - Introduction 00:42 - Circuit Explanation 01:39 - Circuit Setup 02:44 - Button value read function 03:50 - Script to control LED with button 06:30 - Script for rising and falling edges 09:04 - Interrupts attached to button 11:33 - Outro

0/0


0/0

0/0

0/0