source

pico_ada_c01_blink_lt

1.3.0

Chapter 1 Reloaded: Dual-Core Light Tasking

Blinking LEDs on Both Cores Updated Chapter 1 using the new light_tasking_rp2040 runtime - now with proper multi-core support, Ada.Real_Time, and delay until for accurate, slippage-free LED blinking on Raspberry Pi Pico.

Contained in Chapter 01 reloaded are:

  1. blink - Jeremy Grosser Ada sample
  2. sketch_01_1_blink - Chapter 1.1 Blink internal LED
  3. sketch_01_2_blink - Chapter 1.2 Blink external LED
  4. double_blink-main - double blink using both cores.

Read the full tutorial at Chapter 1 Reloaded: Dual-Core Light Tasking - Blinking LEDs on Both Cores

After quick community help, I rewrote Chapter 1 to use light tasking on both RP2040 cores. No more manual timers - clean, precise dual-LED blinking with zero slippage.

GNATdoc documentation: https://pi-ada-tutorial.sourceforge.io/gnatdoc/pico_ada_c01_blink_lt/

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