/leezenflow-code

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

Leezenflow Source Code

This repo contains the (python) code to run Leezenflow.

Requirements

The hardware setup is described in detail in this guide. The basics are:

To test the setup we recommend to check out: https://github.com/hzeller/rpi-rgb-led-matrix As stated in the docs, you should disable sound: https://github.com/hzeller/rpi-rgb-led-matrix#bad-interaction-with-sound and bridge GPIO Pins 4 and 18 as documented here: https://github.com/hzeller/rpi-rgb-led-matrix#improving-flicker

image Source: https://github.com/hzeller/rpi-rgb-led-matrix/blob/master/img/adafruit-mod.jpg

Reminder: use the --led-gpio-mapping=adafruit-hat-pwm flag after you've modified the Matrix hat!

Installation

  • check out this repo this to e.g. /home/pi/
  • pip3 install -r requirements.txt
  • start an endless simulation with sudo python3 leezenflow.py --test 3

Production usage

Reminder: do not forget to use the python3 -u flag in your service definition to prevent logging problems