piHatDraw

command module
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2023 License: MIT Imports: 9 Imported by: 0

README

PiHatDraw

The PiHatDraw is a learning project, to create a drwaing application to run with a Raspberry Pi with a Sense HAT, in the go programming language (goland).

The Sense HAT contains an 8X8 LED display and a joystick. In this project, we're using the joystick to draw. The Sense HAT LED display is a floating window that shows a subset of the full picture.

Sense HAT

The full picture can be viewed using a web browser. The web display also contains some controllers, like changing the pen color and so on.

Web Application display

The application is written in golang. It's an event driven application. It uses webSockets to keep the web display in sync, and a web application to handle requests from the web client.

Demo

Source COde Tutorial

I wrote a blog post series with a tutorial to guide how to build this application.

For each post, there is a coresponding tag with the relevant code:

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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