35 Commits

Author SHA1 Message Date
Joey Castillo
b1c67bea94 accelerometer: keep threshold across sleeps by tracking it in movement 2025-06-25 17:22:17 -04:00
Joey Castillo
69b8048790 power down accelerometer unless a watch face requests it 2025-05-26 10:51:11 -04:00
Joey Castillo
acdc32ffb4 movement: add loudness setting for button press 2025-05-20 17:27:32 -04:00
Joey Castillo
47fbaccc77 add movement_get_temperature, works across different sensor boards 2025-05-17 11:03:51 -04:00
Joey Castillo
80cbb0fe30 automatically detect temperature sensor 2025-05-17 10:23:38 -04:00
Joey Castillo
c5bda0faeb auto-detect accelerometer sensor (and don't fail build for lack of a temperature sensor) 2025-05-16 00:07:15 -04:00
Joey Castillo
f8e25c3ac3 move day one face into Second Movement as generic 'days since' face 2025-03-22 10:09:10 -04:00
Joey Castillo
7d129ba6c3 world clock: support longer cities on custom LCD 2025-03-15 15:20:22 -04:00
Joey Castillo
ecc633fab4 second movement: persist settings to file system 2025-03-15 11:44:00 -04:00
Joey Castillo
4b5e15cc1d accelrometer: add tap event, test by adding tap to set countdown 2024-11-27 18:04:17 -05:00
joeycastillo
c6af677b79 accel: count orientation changes with TC2 instead of waking up 2024-11-18 23:50:21 -05:00
joeycastillo
19376625d1 more accelerometer work 2024-10-19 12:35:46 -04:00
joeycastillo
0a9d71e2d4 use consistent naming style for typedefs 2024-10-05 10:36:58 -04:00
joeycastillo
12241386ea movement internal time is now UTC 2024-10-05 10:36:58 -04:00
joeycastillo
411a64f44b rename needs_advisories_handled to woke_from_alarm_handler 2024-10-02 07:52:10 -04:00
joeycastillo
f843156968 allow watch faces to advise of other things in addition to needing a background task 2024-09-29 21:43:07 -04:00
joeycastillo
ff1bbfa7e6 add request_sleep function to Movement 2024-09-29 15:24:43 -04:00
joeycastillo
e88359d1d5 refactor: watch faces no longer need a pointer to settings! 2024-09-29 10:18:11 -04:00
joeycastillo
3bd8f8d51f store settings in function call, remove last uses of settings in callbacks 2024-09-29 10:18:11 -04:00
joeycastillo
b3ed4df0a1 bring in clock face, add 024h mode, refactor out last raw access of settings->bit 2024-09-29 10:18:11 -04:00
joeycastillo
07d6a05e33 refactor time zone index to function calls 2024-09-29 10:18:11 -04:00
joeycastillo
1c2f1bad5d refactor LED dwell time to function call 2024-09-29 10:18:11 -04:00
joeycastillo
379a795ad3 refactor LE and TO intervals to function calls 2024-09-29 08:53:39 -04:00
joeycastillo
4deeb2b9be Revert "movement: add option to always snap back to first watch face" to remove to_always setting
This reverts commit 77d3e5640fec1e4b4e6b2c82179f465b0d1e9f63.
2024-09-29 08:46:58 -04:00
joeycastillo
e2b01d4018 refactor movement's LED color to a function call 2024-09-29 08:31:23 -04:00
joeycastillo
71922f8e51 refactor movement's alarm_enabled bit to a function call 2024-09-29 08:16:53 -04:00
joeycastillo
0bec3c22c4 refactor movement's unit preference to a function call 2024-09-29 08:09:11 -04:00
joeycastillo
c5e5bc1200 refactor movement's 24h mode to a function call 2024-09-29 08:02:20 -04:00
joeycastillo
01f1008e16 refactor movement's button preference into a function call 2024-09-28 21:57:21 -04:00
joeycastillo
52578e5413 integrate utz, use DST-aware time zones instead of bare offsets 2024-09-23 23:27:10 -04:00
joeycastillo
1357634d9d fix flickering LED in preferences screen 2024-09-23 00:02:31 -04:00
joeycastillo
687f1d9f60 new preferences face with support for RGB LED 2024-09-22 22:26:59 -04:00
joeycastillo
e8cedeac6c rename enum, rearrange watch_tcc.h 2024-09-22 14:26:49 -04:00
joeycastillo
41ea9e8fc5 Revert "Support leading zero representation for 24h clock"
This reverts commit f633b7634b80d0bf08e491606eab3f10f85d6ece.
2024-09-18 23:34:02 -04:00
joeycastillo
dccad01e8f first build of Second Movement with two watch faces 2024-09-18 18:22:33 -04:00