-
-
Notifications
You must be signed in to change notification settings - Fork 960
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A binary watch face #1910
base: main
Are you sure you want to change the base?
A binary watch face #1910
Conversation
Build size and comparison to main:
|
9b8e25d
to
3ee54f2
Compare
I like this, I have a binary clock and I would love the ability to have one on my wrist. The only problem is, my binary clock uses BCD rather than pure binary, and I'm wondering if it would be possible to make this watchface configurable between BCD and the current pure binary display? |
Excuse, I am not quite familiar with the term, BCD, could you elaborate? |
8b70d1d
to
56fe482
Compare
Added define to enable/disable seconds for the binary clock in a build
56fe482
to
e7bc82e
Compare
Ah, I assume this: https://codegolf.stackexchange.com/questions/1198/draw-a-bcd-binary-clock |
Ok, I looked at it, it works inherently different to my implementation, but I have no issue onto adding this watch face on a personal branch for now |
@kieranc Here is a working implementation: /~https://github.com/Zetabite/InfiniTime/tree/binary-watch-face-bcd-1.13.0 |
This adds a binary watch face, which displays the time in binary. The binary number is represented in equal sized dots, which are colored red if 1, and colored grey if 0. The LSB is right. The first row is hours, the second is minutes, and if enabled, the third row displays seconds. Additionally this watch face supports both 12h and 24h time format. In case of 12h, one hour dot is hidden and above the left most minute dot, text displays if its AM or PM, same as for the dots, red colored meaning this is the current time, while grayed means its not that time. I included some examples.
12h, with seconds enabled
24h, with seconds enabled
12h, with seconds disabled
24h, with seconds disabled