Ebiroll / esp32_sl

Get bus departure data from https://www.trafiklab.se and present on an ESP32 with a display

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Here will be some code for an esp32 with a display to show the departures for sl. This is the stockholm comunity traffic

wget http://api.sl.se/api2/realtimedeparturesv4.json?key=&siteid=9192&timewindow=5

http://api.sl.se/api2/realtimedeparturesV4.json?key=KEY&siteid=9702&timewindow=60

Also check out this TFT library

https://github.com/loboris/ESP32_TFT_library

use the setting tft_disp_type = DISP_TYPE_ILI9341 with the first available WROVER kit, Output is mirrored. Looks great through a mirror though, is there an easy fix?

Problem solved by setting #define TFT_INVERT_ROTATION1 0

I will also try to make it run on TTGO device

https://github.com/LilyGO/TTGO-TS-V1.2

About

Get bus departure data from https://www.trafiklab.se and present on an ESP32 with a display


Languages

Language:C 84.9%Language:C++ 14.8%Language:Makefile 0.3%