Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 1.27 KB

README.md

File metadata and controls

28 lines (18 loc) · 1.27 KB

Go-pi

This repository is a playground for my Go-Raspberry Pi activities. I use Raspbian.

LED Strip Control

One of the items I have attached to my Pi via GPIO is this LED RGB Strip. I followed @popoklopsi's tutorial here for wiring. The circuit looks like this:

Wiring diagram for Raspberry Pi LEDs

Image credit Mitchtech

Installation & Run

  • Install Go on the Raspberry pI.
  • Install pi-blaster, a C driver for PWM management on the Raspberry Pi
  • Fetch: go get -v github.com/ddrager/go-pi Error is normal here.
  • Run: go run web-led.go to run web server.

Other resources

Other useful resources if you are interested in getting into this type of thing: