Commit Graph

1852 Commits

Author SHA1 Message Date
Alessandro Genova 7d0f4d1a33 More efficient display draw for fast_stopwatch_face 2026-01-02 20:07:56 -05:00
Alessandro Genova 5293b7983c Remove a few unnecessary date_time to timestamp conversions 2026-01-02 20:07:56 -05:00
Alessandro Genova 450100b90a make movement_set_local_date_time slightly more efficient 2026-01-02 20:07:56 -05:00
Alessandro Genova 996d5d6679 Convert from timestamp to date_time once per second at most 2026-01-02 20:07:56 -05:00
Alessandro Genova f534e7c202 Fix bug that was causing notes in a sequence to play too long 2026-01-02 20:07:56 -05:00
Alessandro Genova cb05585c15 Fix faces that relied on watch_buzzer_play_note being blocking 2026-01-02 20:07:56 -05:00
Alessandro Genova 04276c1999 Improve watch_tcc to decouple leds and buzzer as much as allowed
As a positive side effect, the led will stop emitting the faintiest
of blinks when the buzzer starts playing.
2026-01-02 20:07:56 -05:00
Alessandro Genova 1b9624d042 Make fast_stopwatch power efficiend by using the new counter32 2026-01-02 20:07:56 -05:00
Alessandro Genova 6fe1b236a4 Minor improvement to movement_force_led_on logic 2026-01-02 20:07:56 -05:00
Alessandro Genova 9d91ff3090 Add an optional implementation of button debounce 2026-01-02 20:07:56 -05:00
Alessandro Genova bf9d89106f Fix LED flickering while the buzzer is playing 2026-01-02 20:07:56 -05:00
Alessandro Genova 557a785b1a Fix chirpy to work with rtc-counter32 2026-01-02 20:07:56 -05:00
Alessandro Genova 3caef587df Play an arbitrary stream on the buzzer without blocking 2026-01-02 20:07:56 -05:00
Alessandro Genova c37d40d086 Make the simulator play beeps a lot more reliably. 2026-01-02 20:07:56 -05:00
Alessandro Genova a34a266903 Add a face to debug some counter32 metrics 2026-01-02 20:07:44 -05:00
Alessandro Genova 42fdad78d5 Add more theoretical checks to ensure we don't miss out on any comp timers
Even without this "fix" the watch seems to be extremely stable and haven't seen
any missed timers over several days test. So this might not actually be needed,
but it should make things even safer.
2026-01-02 20:02:36 -05:00
Alessandro Genova 96682a513b Undo some workarounds implemented to fix race conditions that are no longer needed 2026-01-02 20:02:36 -05:00
Alessandro Genova a71967a015 Perform as little work as possible in the interrupt callbacks 2026-01-02 20:02:36 -05:00
Alessandro Genova 9770ad4fe9 Fix more corner case that could cause the top of minute alarm to stop firing 2026-01-02 20:02:36 -05:00
Alessandro Genova a616ac6cc4 Fix corner case that could cause the top of minute alarm to stop firing 2026-01-02 20:02:36 -05:00
Alessandro Genova 7acc9cc414 Align the top of the second with the 1Hz periodic interrupt 2026-01-02 20:02:36 -05:00
Alessandro Genova e2d13e076e Optimize finetune and nanosec faces to work with rtc-counter32 2026-01-02 20:02:36 -05:00
Alessandro Genova 6e23421df4 Fix a bug that was causing 10x power usage from boot until the first sound played 2026-01-02 20:02:36 -05:00
Alessandro Genova e942f67685 Minor fixes to settings faces to work with the new rtc mode 2026-01-02 20:02:36 -05:00
Alessandro Genova eb9ec8659c Initial seemingly stable version of movement using the RTC COUNTER32 mode 2026-01-02 20:02:36 -05:00
voloved a1a255cd2a Merge pull request #172 from voloved/ping-face
Ping face
2025-12-27 19:24:04 -05:00
David Volovskiy cac1f50e8d Fixed clearing paddle on fast press 2025-12-25 09:25:47 -05:00
David Volovskiy 90e99f8957 First hit not counted; bugfixes on sound 2025-12-21 13:39:16 -05:00
David Volovskiy 2c3259b2e3 sound effect on hit 2025-12-21 13:22:43 -05:00
David Volovskiy 4ef85c6f2c Watch's refresh can't handle Fast difficulty 2025-12-21 11:28:40 -05:00
David Volovskiy 2935f0b604 Changed default difficulty 2025-12-21 11:23:29 -05:00
David Volovskiy 66257c5232 Removed time display on ping face 2025-12-21 11:04:31 -05:00
David Volovskiy 6627ff1fbe accelerometer moving paddle fully out 2025-12-21 10:53:50 -05:00
David Volovskiy fe085f81fd Adding description 2025-12-21 10:53:46 -05:00
David Volovskiy d785419912 bug fixes to ping face 2025-12-21 10:53:42 -05:00
David Volovskiy e3239ec47d Began adding ping face 2025-12-21 10:53:36 -05:00
voloved ff8cf346be Merge pull request #169 from voloved/sunrise-wrong-date-fix
Fix for wrong date being shown on sunrise/sunset complication
2025-12-04 08:38:31 -05:00
David Volovskiy 802d64cb8e Fix for wrong date being shown on sunrise/sunset complication 2025-12-04 08:33:14 -05:00
voloved bd28a76233 Merge pull request #167 from voloved/blackjack_face
Fix Win-Lose Ratio and Reset it
2025-12-03 13:36:26 -05:00
David Volovskiy 3b4b70814b Doc update on the win-rate reset 2025-12-03 07:55:48 -05:00
David Volovskiy 8198d6c832 Able to reset the win-lose rate 2025-12-03 07:50:38 -05:00
David Volovskiy ad093f4f67 Fix on typecasting win rate 2025-12-03 07:43:47 -05:00
voloved fa068470b7 Merge pull request #165 from voloved/double-tap
Double tap
2025-12-01 20:18:49 -05:00
David Volovskiy 23038c3f74 Reapply "Added double-tap capabilities to LIS2DW"
This reverts commit 3bd1254b5f.
2025-12-01 20:14:54 -05:00
David Volovskiy eb3f02419e Merge branch 'main' into double-tap 2025-12-01 20:14:02 -05:00
voloved d5c1cf6251 Merge pull request #164 from joeycastillo/revert-149-double-tap
Revert "Added double-tap capabilities to LIS2DW"
2025-12-01 20:11:52 -05:00
David Volovskiy a907760cc1 We forgot to enable the actual double tap 2025-12-01 20:11:40 -05:00
voloved 3bd1254b5f Revert "Added double-tap capabilities to LIS2DW" 2025-12-01 20:09:34 -05:00
voloved 71198ebd28 Merge pull request #163 from joeycastillo/revert-158-main
Revert "Fix for wrong date being shown on sunrise/sunset complication."
2025-12-01 08:21:53 -05:00
voloved 9b93db7fa6 Revert "Fix for wrong date being shown on sunrise/sunset complication." 2025-12-01 08:19:05 -05:00