kishikawakatsumi / tryswift2026
PublicSample code for "Writing Swift Without an OS" - bare metal Swift on Raspberry Pi Pico, from LED blink to Tetris.
A set of educational examples that demonstrate building bare-metal applications like LED blinkers, USB gamepads, and a full Tetris game directly on Raspberry Pi Pico hardware using pure Swift code.
How It Works
You stumble upon a collection of playful examples that bring tiny computer boards to life using simple instructions.
Pick up a small maker board like the Raspberry Pi Pico and maybe some buttons or a tiny screen for fancier projects.
Download the free software tool that lets you create these gadgets from your computer.
Choose a simple example, press build, and watch your creation come together in moments.
Put your board into update mode by holding a button while plugging it in, then copy the ready file to make it start.
Your board's light blinks happily, proving your gadget is alive and responding just like that.
Wire up buttons and plug into your computer to play games with your custom controller.
Add a tiny screen and buzzer, then drop blocks and hear tunes while playing.
You're now creating your own smart toys and games on tiny boards, feeling like a hardware wizard.
Star Growth
Repurpose is a Pro feature
Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.
Unlock RepurposeSimilar repos coming soon.