- MicroPython Cookbook
- Marwan Alsabbagh
- 59字
- 2025-04-04 14:22:37
Controlling LEDs with push buttons
In this recipe, we will learn how to control two separate NeoPixels with two independent push buttons. This is a fun and simple way of creating interactivity with your device. Here, you will get immediate feedback from the board the moment you press each push button, as the pixels will light up in response.