Skip to content

BSFEMA/RPi_WS2812

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RPi_WS2812

NeoPixel library extended example

Author: BSFEMA

I followed this example to hook my Raspberry Pi 3 to a strip of WS2812B (60 LED per meter):

I started with the example code provided from the "WS281X Library":

and added the various functions from this Arduino tutorial:

as well as some of my own things.

Here is an example video of the various functions:

My Raspberry Pi setup is just the 'Raspbian Stretch With Desktop':

I ran "sudo apt-get install xrdp" so I could remote into it to from my computer edit the python files and run it from a terminal.

I also enabled SSH.

To run it, I start a terminal, navigate to the folder with the files, and use the command: sudo python main.py

Note: This was my first Raspberry Pi + GPIO project, my frist time with Python, and my first contribution to GitHub.

Releases

No releases published

Packages

No packages published

Languages