Skip to content

example showing two different clocks on round TFT SPI displays using ESP32 and eTFT_SPI lib

Notifications You must be signed in to change notification settings

somebox/esp32-GC9A01-round

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

esp32-GC9A01-round

An example project showing two different clocks on two round TFT SPI displays, using ESP32 and the eTFT_SPI lib. I built this to help learn how to make clocks with better and simpler code quality.

Some things demonstrated:

  • Using the platformio.ini file to configure eTFT_SPI settings
  • Switching between two different displays by toggling the CS pins of each
  • Using native time(), localtime_r(), configTime(), setEnv() and timezone strings, to update via NTP without external libraries
  • Connect to WiFi pattern with time sync, initialization, error handling and debug callbacks for WiFi events.
  • Drawing both analog and digital clock faces using eTFT_SPI and TFT_eSprite primatives, as well as font handling.
  • Storing fonts on an SPIFFs partition, updated by PlatformIO
  • Track frame rate and timing in the loop

This project uses WiFiManager - which means a WIFI access point will be created for you to configure WiFI settings when you first flash a new board. After that, the settings will stay.

IMG_2304

About

example showing two different clocks on round TFT SPI displays using ESP32 and eTFT_SPI lib

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published