source
pico_ada_c02_button_and_led
1.2.0Chapter 2 - Button & LED
1.2.0
Controlling an LED with a button on the Raspberry Pi Pico using Ada - two simple but useful interaction examples.
In this chapter I combine a push button with an LED. We start with basic on/off control, then move to a toggle-style table lamp with software debounce.
- Sketch_02_1_Button_And_Led - Chapter 2.1 Switch LED with Button
- Sketch_02_2_Table_Lamp - Chapter 2.2 Simple table lamp
Read the full tutorial at Chapter 1 Reloaded: Dual-Core Light Tasking - Blinking LEDs on Both Cores