Pages

07 April, 2025

Customize your own list of favorite screens for the Multi-face GPS Clock

Fav 2 subset with 11 entries (Example in text has 9)
The Clock subset menu of the Multi-face GPS Clock gives you a choice already between:

  • All, 50 screens
  • Fav 1, 34 screens
  • Fav 2, 9 screens
  • Calendar, 13 screens
  • Clocks, 27 screens
  • Astro, 17 screens
  • Radio, 12 screens 
The last four ones are attempts at selecting subsets of screens under a common subheading. It is however easy for anyone to customize them, for instance the Favorite screens, Fav 1 and Fav 2. 

Their definitions are in the file clock_options.h. For instance the Fav 2 set of screens is by default defined in an array like this:
 
 {"Fav 2    ",
ScreenLocalUTCWeek, ScreenLocalSunSimpler, ScreenLocalMoon, ScreenPlanetsInner, ScreenPlanetsOuter, ScreenISOHebIslam, ScreenNextEvents, ScreenProgress, ScreenDemoClock,
      -1},
 
The Screen... names define which screens to see and in which order. All the fifty or so possible clock faces are listed and shown in the Wiki on GitHub. The only conditions that apply when editing, are:

  1. The first screen, ScreenLocalUTCWeek in the example, is the one the clock initially will start with
  2. Never repeat the same screen in the array
  3. If the ScreenDemoClock is to be included, i.e. the ability to jump from one screen to another in the set, it must be second last
  4. The last value must be -1
If these rules are followed, one can select whichever screens one likes, and in the desired order, for the Fav 1 set.
 
Unfortunately, changes in the sets are not preserved when a new software update is published, i.e. they are not stored in EEPROM, so the code has to be edited by hand again in that case.
 

No comments:

Post a Comment