How rems02/ttgo-development-kit works
This MicroPython project drives a TTGO ST7789 display with text and graphics helpers, a button-operated feature menu, and example applications. The main workflow initializes the display, presents menu choices, and runs the selected clock/weather, font, sprite-animation, or FTP feature. The README also documents text positioning and shape drawing. Source excerpts establish the main dispatches and selected module dependencies; links to external APIs are supported by the clock source, while unsampled feature internals are not inferred.
Main entry points: main.py Main menu · toasters.py Toaster animation · horloge.py Clock and weather · WordProcessing.py Text and graphics
Components 17
Application flow
- Main menu
main.py - Clock and weather
horloge.py - Alternate menu
menu.py
Display features
- Font showcase
fonts.py - Toaster animation
toasters.py - Text and graphics
WordProcessing.py
Network services
- FTP server
ftp.py
Sprite assets
- Sprite frame 1
t1.py - Sprite frame 2
t2.py - Sprite frame 3
t3.py - Sprite frame 4
t4.py - Toast sprite
t5.py
Other components
- Device user
- ST7789 display driver
- WorldTime API
- OpenWeatherMap
- FTP client
Connections 21
- Device user → Main menu: selects feature
main.py - Main menu → Text and graphics: renders menu
main.py - Main menu → Clock and weather: runs clock
main.py - Main menu → Font showcase: runs showcase
main.py - Main menu → Toaster animation: runs animation
main.py - Main menu → FTP server: starts server
main.py - Main menu → ST7789 display driver: initializes display
- Text and graphics → ST7789 display driver: draws on
- Clock and weather → Text and graphics: renders text
horloge.py - Clock and weather → WorldTime API: requests time
horloge.py - Clock and weather → OpenWeatherMap: requests weather
horloge.py - Font showcase → ST7789 display driver: draws fonts
fonts.py - Toaster animation → Sprite frame 1: loads frames
toasters.py - Toaster animation → Sprite frame 2: loads frames
toasters.py - Toaster animation → Sprite frame 3: loads frames
toasters.py - Toaster animation → Sprite frame 4: loads frames
toasters.py - Toaster animation → Toast sprite: loads sprite
toasters.py - Toaster animation → ST7789 display driver: draws sprites
toasters.py - FTP client → FTP server: transfers files
- Alternate menu → Text and graphics: renders menu
menu.py - Alternate menu → Clock and weather: runs clock
menu.py