Skip to content

Latest commit

 

History

History
31 lines (23 loc) · 2.31 KB

README.md

File metadata and controls

31 lines (23 loc) · 2.31 KB

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: