Pico_ada_c02_button_and_led

Website:

https://sourceforge.net/projects/pi-ada-tutorial/

Author:
  • Martin Krischik <krischik@users.sourceforge.net>
Maintainer:
  • Martin Krischik <krischik@users.sourceforge.net>
License:

GPL-3.0-or-later

Version:

1.2.0

Alire CI:

Dependencies: Dependents:

No dependents.

Badge:

Chapter 2 - Button & LED

#raspberry #pi #pico #rp2040 #tasking #light-tasking #ada2022

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.

  1. Sketch_02_1_Button_And_Led - Chapter 2.1 Switch LED with Button
  2. 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