Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 628 Bytes

README.md

File metadata and controls

22 lines (16 loc) · 628 Bytes

go-disco

Pre-requisites

When using Rpi LED strip as an output, Raspberry Pi itself must be prepared:

Preparing RPi

Installing

You need to have C library installed on your machine before installing this module

  • Clone this repository
  • Install Scons (on raspbian, apt-get install scons)
  • Type scons from inside the source directory.
  • Copy compiled lib and rest of the includes:
cp ws2811.h /usr/local/include/ws2811.h && \
cp rpihw.h /usr/local/include/rpihw.h && \
cp pwm.h /usr/local/include/pwm.h && \
cp libws2811.a /usr/local/lib/libws2811.a