Skip to content
Raspberry Pi / WS2812B based Sign
Python HTML
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
templates
LICENSE
README.md
display_image.py
matrix.py
rainbow.py
requirements.txt
test_board.py
web.py

README.md

pisign

Raspberry Pi / WS2812B based Sign

Using the 8x32 display available here, but any WS2812B set of LEDs would work..

Getting Started

sudo apt-get update && sudo apt-get -y upgrade
sudo pip3 install -r requirements.txt

Sample Code

test_board.py

Displays a rainbow pattern. Auto_write is defaulted to true, so it will fill the pattern light by light.

rainbow.py

Rainbow pattern, animated.

display_image.py

Using PIL, resize a given image to 8x32 and display.

web.py

Using Flask, create a basic web page that will allow a user to change LEDs individually.

matrix.py

Required for the above; maps the linear LED IDs to an X/Y matrix.

You can’t perform that action at this time.