Skip to content

andrwcnln/picozig

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repository contains some code that I wrote for my Raspberry Pi Pico, using Microzig. The code here is relies heavily on code from the official Microzig examples.

The files in the src directory do the following:

  • three_leds.zig: toggle three LEDs connected to GPIO18-20 (they don't have to be LEDs, that's just what I used)
  • i2c.zig: a basic driver for sending data over I2C to an SDD1306 OLED display
  • uart.zig: communicate over UART, showing different message types; this is very similar to the official Microzig example

Build

Clone the repository

$ git clone https://github.com/andrwcnln/picozig

Build the files by running zig build at the root of the project

$ zig build

The files will be in $PROJECT_ROOT/zig-out/firmware

Run

Just copy the desired .uf2 file over to your Raspberry Pi Pico when connected in BOOTSEL mode.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages