Learn how to use an to control an LED’s state with each press. This MicroPython tutorial demonstrates how to toggle between ON/OFF using state tracking.
Tag: GPIO
Reading Button Inputs with ESP32 Button Input and MicroPython
Learn how to read ESP32 button input with MicroPython. In this simple example, control an LED (connected to pin 21) with a button press using pin 15 on the ESP32.
ESP32 Multiple LEDs: Simple On/Off Example with MicroPython
Learn how to control ESP32 multiple LEDs using MicroPython. This guide demonstrates how to toggle LEDs on and off in simple patterns with pins 18, 19, and 21.
Control Multiple LEDs with Timers on ESP32: A Complete Guide
Learn how to control multiple LEDs with timers on ESP32 using MicroPython. This guide covers setting up timers for independent LED control and adjusting blink rates for each LED.