Clock menu - NiklasVoigt/Afterburner GitHub Wiki

Clock Screen

Clock menu

This menu presents the current time and date, as maintained by the Real Time Clock (RTC).
This time is non volatile, time is maintained if the power is out by an integrated lithium coin cell.

This menu is basically passive, just showing the time, but from here the clock can be set, or timers defined by pressing the Up or Down keypad buttons respectively.

Set Time

Pressing the Up keypad button from the Clock menu will present the Set Time menu.

Set Clock menu

Press Up to enter the clock setting mode.
The day field will first be surrounded by a loop.
Subsequent presses of Up will move to the next field, etc.
Clock Set
Pressing Left or Right allows the selected value to be adjusted.
Pressing Down will backtrack to the previous edit field.

Setting the time

Once happy with the new time setting, press Up (or Down) until SET is circled.
Clock Save
Pressing the Centre button will then upload the new settings into the RTC chip.

Returning to parent menu (Clock)

To return to the Clock menu, "return" at the bottom of the screen must be circled.
To get there without altering the actual time, press the Centre key when on any edit field.
To actually set the time, you must press OK when the SET field is selected.

Either usage of the Centre key will then select the "return" field, press the Centre keypad button once again to return the Clock Menu.

Timers

Pressing the Down keypad button from the Clock menu will present the Set Timer menus.
Timer menu
Multiple timers exist, they can be navigated by pressing the Left or Right keypad buttons.

Selecting and setting fields

Use the Up and Down buttons to select the field to be edited.
Timer set
Once selected, use the Left or Right keys to alter the value. Note that holding the these buttons down will enable auto repeat mode.

Enabling or Disabling the timer

Using the Up/Down keys, navigate to the Timer Enable field.
Timer enabled

The timer can operate in simple or advanced mode.
Simple mode allows you to just enable or disable the timer by using the Left/Right keys.

Advanced mode allows you to select which days the timer will operate for.
Advanced mode is entered by holding down the Right key until a list of days appears instead of Enabled or Disabled:
Timer days
Once enabled, the days can be selected by using the Left / Right keys.
A day can be enabled or disabled by using the Up / Down keys.
A day is enabled when shown in inverse text.

Leave this edit mode by pressing the Centre key.
Assuming certain days were selected, the selection menu will change to "Hold Right" indicating there are days defined.
Timer days
If you move away from that field, you will then be able to see the enabled days.
Timer days

Timer Repeat or One Shot

Timers can be set to repeat every day, or self cancel once expired.
Navigate to the bottom right edit field then press Left or Right to toggle the setting.
Timer days

Saving the timer

Once satisfied with the settings, press the Centre key.
The settings are then stored to non volatile memory.
Timer storing

Returning to parent (Clock menu)

When the navigation line is selected, press the Centre key to return to the Clock menu.
If a timer has been set, it will now appear on the top of the screen:
Timer icon

If the timer is set to repeat, the icon will gain an arrow looping about the icon:

One time timer Repeating timer
ScreenTimerIconOnce ScreenTimerIconRepeat

The number within the icon indicates which timer is defined, not how many times it will repeat.

⚠️ **GitHub.com Fallback** ⚠️