94 Commits

Author SHA1 Message Date
joeycastillo
e1b5395e10 preliminary accelerometer support in Movement 2024-10-09 09:48:49 -04:00
joeycastillo
ab861d81d1 fix time zones in simulator 2024-10-07 08:36:23 -04:00
joeycastillo
63c34005ee initial pass at simulator support 2024-10-06 17:14:46 -04:00
joeycastillo
55ebd7325a remove printf statements 2024-10-05 13:01:00 -04:00
joeycastillo
b03f593373 no need to check on :15 and :45 -- Nepal does not observe DST 2024-10-05 12:57:13 -04:00
joeycastillo
0a9d71e2d4 use consistent naming style for typedefs 2024-10-05 10:36:58 -04:00
joeycastillo
4623bf002a use named constant for UTC zone 2024-10-05 10:36:58 -04:00
joeycastillo
e5c20acd78 cache DST offsets so we're not constantly converting time zones 2024-10-05 10:36:58 -04:00
joeycastillo
925e98be2c set a valid date on boot 2024-10-05 10:36:58 -04:00
joeycastillo
8d2c6680e3 _movement_handle_advisories -> _movement_handle_top_of_minute 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
9a0979fa55 restore custom signal tunes to Second Movement 2024-09-29 12:36:26 -04:00
joeycastillo
bb0211eb01 remove CLOCK_FACE_24H_ONLY option, will lead to too many edge cases 2024-09-29 11:38:47 -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
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
e5e4d457e3 always set time zone to UTC 2024-09-29 07:51:16 -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
ac1f1eb7ef better LED colors at low brightness 2024-09-22 23:50:14 -04:00
joeycastillo
9276655db8 support RGB LED backlight 2024-09-22 22:48:45 -04:00
joeycastillo
687f1d9f60 new preferences face with support for RGB LED 2024-09-22 22:26:59 -04:00
joeycastillo
608d6e2e9d move away from backup registers 2024-09-22 21:52:25 -04:00
joeycastillo
8009ad0537 no need for this to be a function 2024-09-22 21:51:11 -04:00
joeycastillo
fa8f15b85e remove duplication of movement defaults 2024-09-22 21:50:33 -04:00
joeycastillo
e29134bf9f bring in filesysten and shell, rename LFS globals for clarity 2024-09-22 15:34:51 -04:00
joeycastillo
e8cedeac6c rename enum, rearrange watch_tcc.h 2024-09-22 14:26:49 -04:00
joeycastillo
688cf7d87e set year to 2024 at boot 2024-09-22 14:24:43 -04:00
joeycastillo
c1eac53c63 don't time out first watch face 2024-09-22 13:57:16 -04:00
joeycastillo
95b6480e5c restore USB CDC functionality to Movement 2024-09-18 21:44:09 -04:00
joeycastillo
dccad01e8f first build of Second Movement with two watch faces 2024-09-18 18:22:33 -04:00
joeycastillo
aaa3b55c67 rename test app to app.c for clarity 2024-09-18 12:52:43 -04:00
joeycastillo
f7cf2a6c4d minimal blinky sketch 2024-09-18 08:56:47 -04:00