Open ironsmile opened 1 year ago
Build checks have not completed. Possible reasons for this are:
I rebased the code to the latest main
branch.
@ironsmile Thank you for this contribution, the watch face looks really good !
I'm interested in this watchface. Is there anything I could do to help it get merged?
Unfortunately my PineTime broke recently. I will have to either fix it or get a new one before I could be of much help.
Could the color be configurable, at the very least to amber like New Vegas? And (if one was willing to use up the resources space) could the image be animated? (this is more a curiosity of what's possible than a request)
The watch face includes everything that the Digital watch face provides and more. Most notably it makes a difference between "enabled", "disabled" and "paired" states of the Bluetooth. Next, it includes the battery charge as a text too.
This face tries to display a Pip Boy image from the flash memory. It searches for /imgs/pine-boy-icon.bin. If no such file is found then it displays a simple rectangle instead.
Note that the Pip Boy image is NOT included and users are expected to add it by themselves using the resources upload mechanism provided by companion apps.
This is how the face looks like when the a boy image has been uploaded
And here it is without one
And lastly, here's a photo of it running on an actual watch
Instructions For Adding An Icon
Find yourself the boy image you would want to display. A good resolution for an image would be 42x82px.
Then use
lv_img_conv
or the lvgl online convertor to convert it to a.bin
file. You have to use the color format "CF_TRUE_COLOR" or "CF_TRUE_COLOR_ALPHA" and output format "Binary RGB565 Swap".Then create a resource file which includes the converted image under the name
/imgs/pine-boy-icon.bin
. This is myresources.json
:And lastly use a companion app to send the the resource image to the watch. I've used Watchmate on my PinePhone and it works great.