Restructure LightbarServer; implement LightbarController

This commit is contained in:
Lexi / Zoe 2024-01-26 19:24:02 +01:00
parent 144e7d556f
commit 722abc3056
Signed by: binaryDiv
GPG key ID: F8D4956E224DA232
8 changed files with 76 additions and 39 deletions

10
examples/lightbar_cfg.py Normal file
View file

@ -0,0 +1,10 @@
# Example file for Lightbar configuration. Copy to src/lightbar_cfg.py, adjust and upload to the board.
# Port to start the HTTP server on
SERVER_PORT = 80
# Whether the HTTP server should be started in debug mode
SERVER_DEBUG = False
# Amount of LEDs in the lightbar
NEOPIXEL_COUNT = 28