¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Eu version of triple TFT GPS clock #stm32


 

I cloned the very nice clock and the well-documented code for the TFT GPS clock and modified it in two ways.

First there is a backwards compatible version which can be Europeanized with formats for date and units. It also has possibility for removing battery icon, when run from a USB supply.

New boolean variables to set:

  1. US_UNITS - if false: m, kmh, Little-endian date with '.', if true: feet, mph, Middle-Endian date with '/'
  2. BATTERY_DISPLAY - true: as original code, false: no display of battery icon and status
2. Minor fixes:

  1. New way of initializing Serial1 as the original one didn't compile in Arduino IDE 1.8.13. See?
  2. The satellite count in the upper right corner is more agile so it now drops to 0 when GPS signal is lost, rather than stay forever at last satellite count.
See?

Sverre
https://la3za.blogspot.com/

Join [email protected] to automatically receive all group messages.