Skip to content
AWTRIX Flows
Submit flow
Clock_S - Customizable Pixel Clock shown on an AWTRIX display
Fig. 1 Clock_S - Customizable Pixel Clock, as Avemer runs it.

Clock_S - Customizable Pixel Clock

Small centered clock HH:MM or HH:MM:SS with customizable color and blinking colon

Specifications
System AWTRIX NG Scripts
Firmware AWTRIX NG
Topic Miscellaneous
Built by Avemer
File FeQ2kYpQoh5l.ax · 1.7 KB
Icons
Published 9 Aug 2026
Downloads 1

FEATURES

  • Medium 3×5 pixel digits
  • 24 HH time format
  • Centered on the 32×8 AWTRIX display
  • Customizable clock color
  • The ability to turn on and off the seconds display
  • Optional blinking colon
  • Colon blinks once per second when enabled
  • Designed specifically for AWTRIX 3 Berry scripting

SETTINGS
The main settings can be changed near the top of the script:

  • var BLINK_COLON
  • var CLOCK_COLOR
  • var var SHOW_SECONDS

BLINK_COLON
Controls whether the : blinks.
self.BLINK_COLON = 1
1 = colon blinks once per second
0 = colon stays permanently visible

CLOCK_COLOR
Controls the color of the clock.
The color is specified as a hexadecimal RGB value:
self.CLOCK_COLOR = 0xFFFFFF
Examples:
0xFFFFFF # White
0xFF0000 # Red
0x00FF00 # Green
0x0000FF # Blue
0xFFFF00 # Yellow
0x00FFFF # Cyan
0xFF00FF # Magenta

SHOW_SECONDS = 0
1 = show seconds
0 = hide seconds
You only need to change these settings; the rest of the script can remain unchanged.

Display
The clock displays the current time using large custom pixel digits:
HH:MM:SS
The script uses the AWTRIX draw() loop, so the display updates automatically.

GENERAL
The code contains explanations if you want to change something, such as the text position.

Vibecoded with ChatGPT, polished by Avemer.
And I'm a newbie, hope someone might find this script usefull!

More flows for AWTRIX NG Scripts or Miscellaneous

Something wrong with this flow? Report it.