wasp-os: MicroPython for PineTime!
Hi all,
I have been quiet for a while, but now (since I got the simulator to work on my new laptop) wasp-faces will be devolopped further.

Daniel, would you be interested in a merge of Chrono24, now that you've written your own chronograph?

Also, very nice work regarding new apps and Gadgetbridge. Getting smarter ...
(04-15-2021, 08:46 AM)purluparLostHisPw Wrote: Hi all,
I have been quiet for a while, but now (since I got the simulator to work on my new laptop) wasp-faces will be devolopped further.

Daniel, would you be interested in a merge of Chrono24, now that you've written your own chronograph?

Also, very nice work regarding new apps and Gadgetbridge. Getting smarter ...

Pull requests remain welcome. The approach for new watch faces remains pretty much the same in that I'd rather have new apps for each new face than introduce preferences. You can share code behind the scenes if that makes sense but the code is already structured with support from the widget libary allowing clocks can be very small: chrono.py is 101 lines of code and ~40% of that is comments and documentation meaning the whole watch face is only a tiny bit over 60 lines of code.

Thus you should focus on getting the code as you want it, then send a PR and we can worry about the details for sharing at that point.
PineTime: wasp-os and MicroPython, Pinebook Pro:  Debian Bullseye
Hi Daniel, 

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.  Big Grin  
This is what it looks like on the similator. 
   

The day of the week is based on Monday as the first day of the week from this website https://cs.uwaterloo.ca/~alopez-o/math-faq/node73.html
(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.  Big Grin 

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
PineTime: wasp-os and MicroPython, Pinebook Pro:  Debian Bullseye
(05-04-2021, 02:23 AM)danielt Wrote:
(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.  Big Grin 

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
Ok I as unaware of that I will give that a check. Thanks, I didn't really want to add formula and now I don't need too Smile


Possibly Related Threads…
Thread Author Replies Views Last Post
  Problems with pinetime watch face simulator Elements 0 128 08-18-2021, 03:05 PM
Last Post: Elements
  PineTime display and micropython danielt 17 8,183 05-07-2021, 12:15 PM
Last Post: danielt
  Using Pine64 to install Wasp-os on PineTime Mpoint 1 789 04-30-2021, 02:39 AM
Last Post: danielt
  Star Trek computer themed wasp-os on PineTime graynada 13 8,390 12-14-2020, 07:10 PM
Last Post: tllim
  Update bootlogo and pinetime-app with OTA/DFU lookin 3 2,000 11-25-2020, 04:51 PM
Last Post: lookin
  PineTime Simulation Feature gjoyet 3 1,619 11-15-2020, 11:42 AM
Last Post: gjoyet
  Pinetime and P8 Integration testing framework maiden 7 3,814 10-23-2020, 03:25 PM
Last Post: maiden
  Article: Create Your Own PineTime Watch Face in Rust... And Publish on crates.io lupyuen 2 2,080 10-18-2020, 09:24 PM
Last Post: lupyuen
  Article: Bluetooth Time Sync and LVGL on PineTime Mynewt lupyuen 0 1,051 10-15-2020, 05:51 PM
Last Post: lupyuen
  Remote PineTime for flashing and testing firmware remotely lupyuen 5 2,660 10-06-2020, 12:03 AM
Last Post: lupyuen

Forum Jump:


Users browsing this thread: 1 Guest(s)