Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Add a watchface encoded in a QR code.
Features
Known Issues
When rebooting the system with the QR code watchface selected, the code will be replaced with a gray square. Refresh the screen by going to a different menu and back to see the correct code. #2331 fixes this on hardware.
Images
Note: Only the text in the first image is available in the default watchface. You would need to add the text in the second and third images yourself.
Usage
The main watchface displays the time in JSON.
The keys are as follows:
Long tapping cycles through alternate texts. When you switch to a different text (including back to the main watchface screen), it buzzes out its index in binary - strong buzz for 1, weak buzz for 0. Index 0 is the main watchface, and 1 and on is the user-defined ones. By default, the texts are:
Exercise caution when showing this feature to others. Trust is hard to regain among peers.
Note: If you are on an alternate text and press the side button, the watchface will eat the press and go back to the main watchface. If you leave the watch on an alternate text for more than 1 minute, it will switch back to the main watchface automatically (or the next time the screen turns on).
To add more alternate texts, simply add your strings to
altTexts
in the WatchFaceQRCode class in WatchFaceQRCode.h. Your string cannot be longer than 78 bytes, else an error will be displayed instead of your string.Limitations
References
The entire QR code generation implementation is based on the cookbook at https://www.thonky.com/qr-code-tutorial/.
Why?
To squander the gift of creativity is a terrible thing.