Learn MicroPython #4 - Interrupts (event-driven code)
Full code available on Github! https://github.com/invent-box/Learn-M... In the last video, we made a program that would turn an LED on whenever a button is pressed. However, we found that as long as the program is running, the Python REPL console is blocked from starting. At the end of this video, we will have a program that does the same thing with the LED and button, but will also allow the REPL to start. This will be accomplished by using a feature of MicroPython called "interrupts" that allows us to build the program in an event-driven way. Hope you have fun with this one! ************************************************** We use FREE open source software with the following machines: (ALL open source software is free so YOU can try it too) ************************************************** LASER CUTTER ENGRAVER: https://amzn.to/2IjMAeK extra features (red dot laser & wheels): https://amzn.to/3cmH341 air assist (for better cutting): https://amzn.to/38uIvjh VINYL CUTTER: https://amzn.to/39AGYs8 WOOD LATHE: https://amzn.to/33oQVY1 tool set: https://amzn.to/2w7OWv0 caliper: https://amzn.to/3b3eisx CNC ROUTER / MILLING MACHINE cnc router: https://amzn.to/336ofTu mini milling machine: https://amzn.to/34HTEwn 2 flute end mill set: https://amzn.to/2xlbj0b MINI METAL LATHE: https://amzn.to/2SpLSm2 MICROPHONE/HEADSET FOR MAKING VIDEOS: https://amzn.to/2wvwUCY (As an Amazon Associate I earn from qualifying purchases.) ************************************************** FREE VIDEO DEMOS: Laser Cutting TIPS & TRICKS Vinyl Cutting TIPS & TRICKS Wood Lathing TIPS & TRICKS Milling / CNC Router TIPS & TRICKS Metal Lathing TIPS & TRICKS ************************************************** We have entire playlists on learning open source software so have fun learning! The solution is right around the corner... InventBoxTutorials. Great tutorials. Free software. Open to the world.

Learn MicroPython #5 - Measuring sensor voltages (ADC)

Learn MicroPython #1 - Introduction & Installation

I Hacked This Temu Router. What I Found Should Be Illegal.

Using MicroPython in the wild

MicroPython #4 - PWM, ADC, Timers & Interrupts

How I animate 3Blue1Brown | A Manim demo with Ben Sparks

"Clean" Code, Horrible Performance

Raspberry Pi Pico Stepper Motors via PIO

Learn MicroPython #2 - Blink LED (digital output)

Learn MicroPython #6 - fade an LED with PWM

Writing fast and efficient MicroPython

Using PICO Interrupts

🚗 BYD : The biggest SCAM of the car industry ?

Creator of C++: Bell Labs, Negative Overhead Abstraction, Mistakes | Bjarne Stroustrup

MicroPython & the Internet of Things • Damien George • GOTO 2016

The Insane Genius of a Formula 1 Gearbox

Why AI Agents are either the best or worst thing we’ve ever built

One Formula That Demystifies 3D Graphics

