Commit Graph

173 Commits

Author SHA1 Message Date
Raffael Mancini 1a33ae88f7 Move complications/local_solar_time_face -> clock/solar_time_face 2026-03-04 12:34:23 +01:00
Raffael Mancini ff3c8a72fc Implement local solar time face
Full implementation of the local solar time complication using the
pveducation.org formula set (LSTM, B, EoT, TC, LST, HRA). EoT and TC
are cached by day-of-year and recomputed once at midnight rollover.

Three display modes cycle with the Alarm button:
  SO HH:MM:SS  — Local Solar Time
  nO HH:MM     — Solar Noon in local clock time
  Hr ±DDD      — Hour Angle in degrees

Location is read from location.u32 on the filesystem. In the simulator
the browser lat/lon globals are written to location.u32 on activation
if not already set, fixing the "no Loc" issue in the emulator.
2026-02-21 18:06:31 +01:00
David Volovskiy c45fed8ea9 Got rid of fallthrough warnings 2026-01-02 20:07:56 -05:00
Alessandro Genova edd3a5c3b4 Add a slow display refresh mode to fast_stopwatch 2026-01-02 20:07:56 -05:00
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 cb05585c15 Fix faces that relied on watch_buzzer_play_note being blocking 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
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
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 9b93db7fa6 Revert "Fix for wrong date being shown on sunrise/sunset complication." 2025-12-01 08:19:05 -05:00
voloved 34e243bcaf Merge pull request #160 from oliverpool/deadline-desc
deadline_face: move description to .h file
2025-11-29 10:33:42 -05:00
voloved 0aa9ce184a Merge pull request #161 from oliverpool/wareki-desc
wareki_face: move description to .h file and add license notice
2025-11-29 10:31:26 -05:00
voloved 1066a1776a Merge pull request #158 from ch00f/main
Fix for wrong date being shown on sunrise/sunset complication.
2025-11-29 10:11:45 -05:00
oliverpool 5dbcba181e wareki_face: move description to .h file and add license notice
See #152
2025-11-28 10:30:48 +01:00
oliverpool f95cd68b25 deadline_face: move description to .h file
See #152
2025-11-28 10:10:35 +01:00
voloved 1acf8db86a Merge pull request #159 from voloved/blackjack_face
Updated documentation to Blackjack face
2025-11-26 12:10:10 -05:00
David Volovskiy ab7018e44c Updated documentation 2025-11-26 12:07:37 -05:00
Michael Ciuffo 257dab38e1 Merge pull request #1 from joeycastillo/main
Updating.
2025-11-23 13:35:02 -08:00
ciuffo cb344dea22 Fix for wrong sunrise/sunset in some timezones 2025-11-23 13:32:05 -08:00
voloved 542ff92313 Merge pull request #110 from voloved/alarm_face_typo
Advanced Alarm Face Custom Display
2025-11-22 09:18:40 -05:00
voloved 9d515eb213 Merge pull request #100 from voloved/tarot-retain-settings
Tarot remembers if we have major_arcana_only on or not along with number of cards to draw
2025-11-22 08:45:09 -05:00
David Volovskiy cee51b8595 Removed extra newline at end 2025-11-22 08:41:38 -05:00
David Volovskiy c2ac4a7e4c Merge branch 'main' into wordle_port 2025-11-22 08:41:15 -05:00
David Volovskiy a139dc81b1 Resized baby kick buffers to get rid of truncation warnings 2025-11-22 07:44:36 -05:00
voloved 32b44da23b Merge pull request #99 from voloved/activity_moon_loop_backwards
Activity and moon can loop backwards
2025-11-21 09:08:14 -05:00
voloved 3e1e09bf02 Merge pull request #81 from berdan/main
pulsometer_face: Add check for negative values
2025-11-21 08:48:23 -05:00
voloved 889f0f6ff0 Merge branch 'main' into simon-port 2025-11-20 18:27:59 -05:00
voloved 315c33ce96 Merge branch 'main' into lander_face_port 2025-11-20 18:27:06 -05:00
voloved 857d18ae95 Merge branch 'main' into higher-lower-port 2025-11-20 18:26:11 -05:00
voloved e5dfd4c93a Merge branch 'main' into endless_runner_port 2025-11-20 18:22:27 -05:00
voloved 9fd5aa0a67 Merge pull request #111 from voloved/blackjack_face
Added Blackjack game
2025-11-20 18:18:56 -05:00
Ante Vukorepa 3e4c6f2363 Make deadline face respect button volumes
Just blindly replaced watch_buzzer_play_note with watch_buzzer_play_note_with_volume
2025-11-18 11:58:50 -05:00
Daniel Bergman 6f08545e12 Fix compiler warnings: missing prototype, unused variables, implicit declaration 2025-11-18 11:43:53 -05:00
David Volovskiy 437e513d1f Stand on 21 if we ask for a hit 2025-11-16 08:28:46 -05:00
David Volovskiy 796f83a19f Attempt at fixing blackjack win rate counter 2025-09-28 16:33:49 -04:00
David Volovskiy 639f42c5d8 Tapping turned off when not being used since tap control uses 90uA 2025-09-08 19:44:14 -04:00