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
  Pinetime - Kids with special needs hidara 0 574 06-11-2024, 10:42 PM
Last Post: hidara
  Develop a new firmware for PineTime belushi 2 2,024 09-25-2023, 12:32 PM
Last Post: ccchan234
  Bluetooth BLE-MIDI-controller app for PineTime / InfiniTime Luno 0 900 08-20-2023, 05:17 AM
Last Post: Luno
  Zephyr Backlight Examples for PineTime lcj 0 1,086 05-06-2023, 02:54 PM
Last Post: lcj
  Zephyr is ready for pinetime jandy 1 2,710 05-06-2023, 02:15 PM
Last Post: lcj
  Send a message from Android to pinetime via BLE razrosman 0 1,278 11-05-2022, 08:24 AM
Last Post: razrosman
  PineTime Stuck in DFU Mode Eesha Barua 1 2,654 07-25-2022, 09:17 PM
Last Post: heyhewmike
  Idle tracking with PineTime: how versatile it is? schaman 1 2,159 07-13-2022, 12:50 AM
Last Post: wibble
  PineTime implemented with partial of pebble API jandy 0 1,895 03-20-2022, 08:58 PM
Last Post: jandy
  "Pine64 USB JTAG Adapter + OpenOCD + PineTime" should it work? ITCactus 4 4,954 03-02-2022, 05:58 AM
Last Post: wibble

Forum Jump:


Users browsing this thread: 1 Guest(s)