Skip to content

Add binary watchface - #2504

Open
rage311 wants to merge 1 commit into
InfiniTimeOrg:mainfrom
rage311:add-binary-watchface
Open

rage311 wants to merge 1 commit into
InfiniTimeOrg:mainfrom
rage311:add-binary-watchface

Conversation

@rage311

@rage311 rage311 commented Nov 20, 2026 •

Copy link
Copy Markdown

Hi. Long time listener, first time caller.

First off, thanks for the great project! I've been using it for years now and it's been amazing.

I've had the idea to create a binary watchface for InfiniTime for quite a while now, but I finally took the time to get it done. It's a binary-coded decimal style clock where each column of LEDs represents a single digit. I added a regular clock readout too, in case you want to cheat. 😄 It supports both 12 and 24 hour time. The blue LED indicates PM. The date label, heart rate readout, and step count were pretty much straight copied from WatchFaceDigital.

I've tested this in both InfiniSim and on a physical PineTime watch and it seems to work well. As far as I can tell, I've added all the right bits to the existing code to get it integrated properly, but let me know if there's something I've missed and/or need to fix. I'm open to feedback.

AI disclosure: I used AI to help me figure out LVGL to get the first LED to show up, since I was having no success with that seemingly simple task (it turns out I just needed to set a bg color opacity), but 100% of the new code and commentary in my PR was handwritten by me (aside from the bits I lifted from WatchFaceDigital). I'm not gonna let AI take over the fun part...

2026-11-19-224950_241x244_scrot

@github-actions

github-actions Bot commented Nov 20, 2026 •

Copy link
Copy Markdown

Build size and comparison to main:

Section Size Difference
text 397552B 2960B
data 936B 0B
bss 22968B 8B

Run in InfiniEmu

@rage311
rage311 force-pushed the add-binary-watchface branch 2 times, most recently from 7a3bd88 to 04da4cd Compare November 22, 2026 09:25
@mark9064 mark9064 added the new watchface This thread is about a new watchface label Nov 22, 2026
@mark9064

mark9064 commented Nov 22, 2026 •

Copy link
Copy Markdown
Member

Looks cool!

There are some compile errors at the moment (see the checks page). Can review when fixed up :)

PS: ignore the clang-format check, this is currently broken in the CI. I will check it locally though, so make sure to give it a run on your end

@rage311
rage311 force-pushed the add-binary-watchface branch 3 times, most recently from 63df545 to 428b42f Compare November 25, 2026 21:31
@mark9064

Copy link
Copy Markdown
Member

The formatter is fixed now BTW, could you also resolve

@rage311
rage311 force-pushed the add-binary-watchface branch from 428b42f to b3e77f9 Compare November 25, 2026 22:36
@rage311
rage311 force-pushed the add-binary-watchface branch from b3e77f9 to 5a7323c Compare November 25, 2026 22:38
@rage311

rage311 commented Nov 25, 2026

Copy link
Copy Markdown
Author

Ok! I fixed the compile error and addressed the clang-tidy warnings. It appears I have appeased the CI gods.

@AkiroPhi

Copy link
Copy Markdown

I have a question about this watchface
Why did you « binarise » by digit and by type (hour, minutes, seconds) ?
Easier to read or to implement maybe ?

Nice watchface btw, i may use it from time to time… (And you gave me an idea of another watchface)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new watchface This thread is about a new watchface

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants