Skip to content

PRO TIP Block youtube.com at the DNS level — Pi-hole, NextDNS or your hosts file — but allow youtube-nocookie.com and i.ytimg.com. These tutorials keep playing; the rabbit hole does not.

Learning without distractions

Choose Which LED to Turn On with Flask (Challenge 3) – Raspberry Pi 5 Tutorial (#15)

2.2K views on YouTube

In this Raspberry Pi tutorial you will practice more and control some LEDs from a web page, using Flask and Python.

🔥 Complete Raspberry Pi Course for Beginners 👉 https://rbcknd.com/raspberry-pi-for-beginners

👉 Raspberry Pi 5 Tutorial Playlist: https://www.youtube.com/playlist?list=PLLSegLrePWgIDKJTkdLyyQskh2HDdEL3y

⏱️ Chapters
(00:00) Your challenge + some tips
(03:48) Initialize the LEDs
(05:20) Validate the input data
(08:59) Control the LEDs with Flask
(13:41) Your next step with Raspberry Pi

👉 Get all my courses here 👉 https://rbcknd.com/all-courses

Twitter: https://twitter.com/RoboticsBackend
More Free Tutorials: https://roboticsbackend.com