05-04-2021, 02:23 AM
(04-30-2021, 05:30 PM)Msaulnier1 Wrote: Thank you for Wasp-OS I am having some fun learning how main.py and all the code works together.
I wanted to make the analog watch face a little different and the battery and BLE status smaller.
I added a very small formula to calc the day of the week to my redesign of the analog clock.![]()
Looks nice, and I'm very glad to hear you're having fun customizing your watch.
I've not come across this day of the week technique before but I must mention tha I don't think you needed it! The wasp-os RTC functions are built around time.localtime() and that should already be providing you with the day of the week (as now[6]):
https://docs.python.org/3/library/time.h...truct_time