Uploaded August 2023 | Updated September 2026, 7 hours ago
Today we setup the #PiPico hardware and #Zig to start part 1 of 4 in which we will develop the Simon says game.
Today we will make the hardware and test the LEDs making a #knightrider LED scanner using the 4 LEDs.
I do this in 4 episodes of 20-30 minutes to avoid one big video and overload the viewer with too many details. Each episode focusses on some core aspect.
The code in the episode:
github.com/rdoetjes/simon_zig/blob/main/simon/simon_1.zig
The repository
github.com/rdoetjes/simon_zig.git
Chapters:
00:00 Introduction
00:11 Explanation of the four episodes
01:46 Changing the name of the game
02:27 Installing/using the HAL
03:16 The examples of the raspberrypi-rp2040 HAL
03:25 Using gpio calls vs the configuration abstraction
04:30 The electronics for the game
06:30 Writing the "Knightrider" scanner in Zig
13:50 Compiling and debugging
14:12 Turning the elf binary into uf2
16:10 Uploading the uf2
17:14 The result of our labour
18:13 Outro
Today we setup the #PiPico hardware and #Zig to start part 1 of 4 in which we will develop the Simon says game.
Today we will make the hardware and test the LEDs making a #knightrider LED scanner using the 4 LEDs.
I do this in 4 episodes of 20-30 minutes to avoid one big video and overload the viewer with too many details. Each episode focusses on some core aspect.
The code in the episode:
github.com/rdoetjes/simon_zig/blob/main/simon/simon_1.zig
The repository
github.com/rdoetjes/simon_zig.git
Chapters:
00:00 Introduction
00:11 Explanation of the four episodes
01:46 Changing the name of the game
02:27 Installing/using the HAL
03:16 The examples of the raspberrypi-rp2040 HAL
03:25 Using gpio calls vs the configuration abstraction
04:30 The electronics for the game
06:30 Writing the "Knightrider" scanner in Zig
13:50 Compiling and debugging
14:12 Turning the elf binary into uf2
16:10 Uploading the uf2
17:14 The result of our labour
18:13 Outro










