To active your venv, run source venv/bin/activate
, to deactivate run deactivate
Install dependencies from within a venv
pip install -r requirements.txt
Create a config.yml
file to specify what modules you want to run (look at config.yml.example
)
start the program by running ./run
, stop the program by running ./stop
cd /etc/systemd/system
sudo ln -s /home/pi/display/led-display/service
sudo systemctl enable led-display
sudo reboot
The display should start at boot now
To add a module:
- Create a folder with the name of your module
- in
__init__.py
, create a class calledScreen(BaseModule)
and implement your screen there - in
config.yml
, add your screen along with it's display_name and any other args - (optional) include any library code or README.md for any module specific setup