This repository is a playground for my Go-Raspberry Pi activities. I use Raspbian.
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:
Image credit Mitchtech
- 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 useful resources if you are interested in getting into this type of thing:
- RBG-pi server (c/python)