go-epaper-demo

command module
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 11, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

README

go-epaper-demo

go-epaper-demo is an example of how to display an image to a Waveshare 2.7 inch epaper display hat with the Raspberry Pi 3 B+ written in Golang.

running the demo

Setup

Setup SPI by uncommenting dtparam=spi=on in /boot/config.txt. Then reboot sudo reboot.

Run

Run go-epaper-demo with Golang

GO111MODULE=on go run -mod=vendor .

Run go-epaper-demo with Docker

docker build . -t dmowcomber/go-epaper-demo
docker run --rm -v /dev/mem:/dev/mem --device /dev/gpiomem --device /dev/spidev0.0 dmowcomber/go-epaper-demo

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL