Sign inSign up

dantup/unicorn_hd

By dantup

•Updated 10 months ago

The Raspberry Pi Unicorn HD Hat library in a Docker container.

Image
0

1.0K

dantup/unicorn_hd repository overview

⁠DanTup / unicorn_hd

https://github.com/DanTup/unicorn_hd_docker⁠

A Docker container to simplify using the Unicorn HD library and demos on a Raspberry Pi 3.

To run:

docker run --device=/dev/spidev0.0 dantup/unicorn_hd

The --device=/dev/spidev0.0 is required to allow the container to access the local device (docker containers are unprivileged by default).

To run a different file, append the name of the file (eg. from the examples folder⁠) and add -it if an interactive terminal is required (eg. for snake).

docker run -it --device=/dev/spidev0.0 dantup/unicorn_hd snake.py

Tag summary

Content type

Image

Digest

sha256:fbf1b7c6b…

Size

60 MB

Last updated

10 months ago

docker pull dantup/unicorn_hd