Skip to content

jacobhq/unicornhatmini-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

unicornhatmini-go

A Go library for the Pimoroni Unicorn HAT Mini. This is currently an almost direct translation of pimoroni/unicornhatmini-python, but this library brings the speed and ease of deployment that come from using the Go programming language.

Setup and Installation

Enable SPI on your Raspberry Pi:

sudo raspi-config nonint do_spi 0

Install the module and import normally:

go get github.com/jacobhq/unicornhatmini-go@latest

Run your file (requires sudo unless user in gpio group):

sudo go run main.go

Or build your executable and run it with sudo, whatever is fine.


For a usage example, see examples/main.go.

This library has only been tested on a Pi 4, so if you experience problems on other models, feel free to open an issue.

About

Go library for the Pimoroni Unicorn HAT Mini RGB LED Display

Topics

Resources

Stars

Watchers

Forks

Sponsor this project

 

Languages