Matheus Afonso Martins Moreira
663cd725f8
Merge PR #434 - fix leap years
...
Improves handling of months in the Sensor Watch
by computing whether the given year is a leap year.
Reviewed-by: Matheus Afonso Martins Moreira <matheus@matheusmoreira.com>
GitHub-Pull-Request: https://github.com/joeycastillo/Sensor-Watch/pull/434
2024-08-30 16:47:38 -03:00
Matheus Afonso Martins Moreira
c8ca0d3619
Merge PR #431 - fix wrong number of days in month
...
July has 31 days and but was set to 30 days in the Sensor Watch.
This patch fixes the discrepancy.
Reviewed-by: Matheus Afonso Martins Moreira <matheus@matheusmoreira.com>
GitHub-Pull-Request: https://github.com/joeycastillo/Sensor-Watch/pull/431
2024-08-30 16:46:22 -03:00
Matheus Afonso Martins Moreira
95ca374c98
Merge PR #433 - fix clock face indicators
...
I misinterpreted the documentation and swapped the alarm and time signal
indicators in the clock face. This patch brings it back in sync with
the original watch's behavior as described in the manual.
Reported-by: 814d3 (GitHub)
Reviewed-by: Matheus Afonso Martins Moreira <matheus@matheusmoreira.com>
GitHub-Pull-Request: https://github.com/joeycastillo/Sensor-Watch/pull/433
References: https://github.com/joeycastillo/Sensor-Watch/pull/380
References: https://github.com/joeycastillo/Sensor-Watch/issues/132
2024-08-30 16:46:22 -03:00
Matheus Afonso Martins Moreira
657ff724d0
Merge PR #440 - fix countdown face issues
...
Avoid potential underflow when evaluating x - y with y > x.
Evaluate it only when y <= x instead.
Avoid clearing indicators in background task
since another watch face is likely active.
Reviewed-by: Matheus Afonso Martins Moreira <matheus@matheusmoreira.com>
GitHub-Pull-Request: https://github.com/joeycastillo/Sensor-Watch/pull/440
2024-08-30 16:46:22 -03:00
Nicholas Rodrigues Lordello
a4fc048f94
Update TOTP Face Documentation
...
The TOTP face header file documentation contained outdated instructions
for configuring the complication with TOTP credentials. This PR updates
the documentation to match what is expected in `totp_face.c`.
2024-08-22 14:53:17 +02:00
Joseph Bryant
e2c5babb2c
don't change the bell indicator from within background task
2024-08-18 22:09:37 +01:00
Joseph Bryant
dcd4d12c0a
avoid delta overflow in countdown draw
2024-08-18 22:09:17 +01:00
David Volovskiy
09576807eb
Made the days_in_month its own function
2024-08-10 07:40:52 -04:00
David Volovskiy
f85a7f2c78
Swapped the bell and alarm icon on the clock face to match Casio's doc
2024-08-10 06:38:46 -04:00
Struan
1da9d0aefe
fix: july has 31 days
2024-08-07 22:24:57 -06:00
David Volovskiy
598e876186
check_and_act_on_daylight_savings now only occurs in one spot
2024-08-04 10:11:33 -04:00
David Volovskiy
2824a62908
Bugfix on not registering the top of an hour
2024-08-04 09:53:04 -04:00
Christian Buschau
7a15ed3591
faces/alarm_thermometer: new watch face
2024-08-03 18:59:41 +02:00
David Volovskiy
51176344dc
Made it so the code works with a completely empty preset list
2024-08-03 11:42:42 -04:00
David Volovskiy
84f0db0654
Fix to remove compiler complaint
2024-08-03 11:38:45 -04:00
David Volovskiy
6ae5dfef70
Leap Years Now Handled Dynamically
2024-08-03 11:20:25 -04:00
David Volovskiy
aebea960c0
Cleanup to the default branch
2024-08-03 10:08:24 -04:00
David Volovskiy
e50390b673
DST roll is now a global variable in watch_rtc
2024-08-03 10:07:57 -04:00
David Volovskiy
74421c7e65
Day roll back repeat fix
2024-08-03 09:39:02 -04:00
David Volovskiy
fa2907e098
Some more cleanup
2024-08-03 09:38:00 -04:00
Christian Buschau
db165bec30
Fix all days in a month
2024-08-03 12:22:15 +02:00
David Volovskiy
bae8c65825
Made the faces I care about not need to continuously re-find the timezone
2024-08-02 07:37:30 -04:00
David Volovskiy
4c546b14dc
The timezone now auto-corrects with DST (but still displays the same offset in the settings screen to the user)
2024-08-02 01:25:01 -04:00
David Volovskiy
149911e4ad
Time now auto-updates with DST
2024-08-02 01:23:21 -04:00
EGS
278520bfaf
Allow setting July 31st as today's date
...
To allow a valid date to be set the `set_time_face` cycles through the
valid days for a given month. July was incorrectly encoded as having 30
days (it has 31!)
2024-07-31 18:17:04 +01:00
PrimmR
a9e6b82f00
Update timeout & low energy behaviour
2024-07-25 15:31:25 +01:00
voloved
6e26c01de0
Holding light button on a non-element screen will turn on the light ( #2 )
...
* Holding light button on a non-element screen will turn on the light.
* The alarm and led button press moves back to the currently-selected element symbol page rather than the next and previous one
* Usage update
2024-07-25 14:18:56 +01:00
PrimmR
cb90a1980f
Added LED button combo
2024-07-24 11:18:24 +01:00
atax1a
42c14c2e5b
Merge pull request #420 from voloved/sunrise_sunset_presets
...
Added ability to add presets to the sunrise and sunset face
2024-07-24 04:49:03 +00:00
voloved
c8702d346e
Added subscreens to periodic table face; added title and faster scrolling ( #1 )
...
* Added subscreens to periodic table face; added title and faster scrolling
* Resized buf for element display
* Fixed scrolling to work on actual hardware
* Added delay before _loop_text at title and bugfix on elements shorter than 6 char
* Title screen displays when le_mode starts
* Added documentation on usage and removed unneeded variable
2024-07-23 10:35:38 +01:00
James Haggerty
222c60b072
Fix TOTP LFS printf string
2024-07-21 09:10:28 +10:00
David Volovskiy
a13c8c35b8
Code review commit
2024-07-20 15:59:42 -04:00
David Volovskiy
9ee319c888
Typo in comment
2024-07-20 14:48:32 -04:00
David Volovskiy
a3d23ab45e
Long press of Alarm goes back to default
2024-07-20 14:46:42 -04:00
David Volovskiy
a7c0fb7dfd
Added ability to add presets to the sunrise and sunset face
2024-07-20 14:35:37 -04:00
David Volovskiy
2afc2c6721
isolating this bit of complexity in movement function; Add ifdefs in clock faces for DCE
2024-07-10 07:22:55 -04:00
David Volovskiy
7f6a9e5c9b
Typo fix on PREFERENCES_FACE_NUM_PREFERENCES
2024-07-08 18:33:17 -04:00
David Volovskiy
b923d50652
CLOCK_FACE_24H_ONLY hides the preference to change the setting and defaults the mode to 24Hr mode
2024-07-08 18:32:41 -04:00
atax1a
5f5d86353f
Merge pull request #397 from madhogs/wyrun-totp-lfs-fix
...
Reduce totp_face_lfs memory usage
2024-07-08 21:10:46 +00:00
voloved
3eaf807590
Added Timeout; Ability to turn off LED and Sound; Added doublespeed mode. ( #1 )
...
* Check that color is valid
Instead of merely checking that COLOR is set, check that it is one of
RED, BLUE or GREEN
* Added ability to turn off sound and timer with modes
* Added enum for mode
---------
Co-authored-by: Wesley Ellis <tahnok@gmail.com>
2024-07-07 19:23:31 -04:00
joeycastillo
89a2af92ef
silence warnings
2024-07-06 08:52:41 -04:00
Ruben Nic
7a2ecad334
Custom setting of switch from past to to index
2024-05-25 18:16:50 -04:00
Ruben Nic
af0f8d2732
If the alarm is enabled show bell not signal
2024-05-18 10:44:43 -04:00
Ruben Nic
53f11cbd1e
have close enough to update less and clean up code
2024-05-15 12:30:00 -04:00
Ruben Nic
fa35b8bb77
Add close enough clock face
2024-05-06 20:32:59 -04:00
Matt Greer
9794f86430
simon_face: Simon game complication
2024-05-05 13:43:33 -04:00
R. Alex Barbieri
2ce07f9539
add blinking to DST toggle in settings page
2024-04-27 13:33:32 -05:00
R. Alex Barbieri
e3d67af604
Merge remote-tracking branch 'origin/main' into manual_dst_toggle
...
* origin/main: (119 commits)
add an openocd.cfg for openocd 0.12.0
Fix compile errors and warnings in movement.c and shell.c
faces/totp: avoid displaying when key is invalid
faces/totp: fix error message not displayed bug
faces/totp: remove dynamic memory allocation
faces/totp: improve memory usage
faces: restore simple_clock_face
uf2conv: argument to `re.split` should be a rawstring
movement: fix unintended timeout short circuiting
movement: convert can_sleep an automatic variable
faces/pulsometer: remember pulsometer measurement
faces/pulsometer: remember pulsometer calibration
faces/totp: update copyrights
faces/totp: allow moving backwards through codes
faces/clock: add 24h only feature
faces/clock: update copyrights and credits
faces/totp: delete leading underscores
faces/totp: rename initializer macro to credential
faces/totp: improve TOTP initializer labeling
faces/totp: decode secrets when setting up
...
2024-04-27 13:23:53 -05:00
James Haggerty
77ea1b8965
Reduce totp_face_lfs memory usage
2024-04-26 16:05:35 +01:00
Wesley Black
69f25f1016
Add files via upload
2024-03-20 17:54:23 -03:00