Using the Waveshare ESP32-S3-Matrix to display minutes to departure from a Tunnelbana station, using data from the SL API found at trafiklab.se. A pushbutton added to the back gives you the ability to push the display to change the direction/destination.
Currenty displays departures from Björkhagen Tunnebana station by using a station code provided by the API.
-
src/main.py
The main file. -
src/graphics.py
Contaning a function that returns a list representing a graphic to be displayed on the LED matrix. -
log.txt
Text file to log errors from main.py
- Update wifi credentials, stationID and destination names in main.py
- Put all files in the root of the ESP32-S3-Matrix.