Commit graph

55 commits

Author SHA1 Message Date
Joey Castillo 03fb09f5b4 movement: more granular button and LED timing via fast tick 2021-11-29 10:33:42 -05:00
Joey Castillo 83a9dd8a32 movement: these durations don't need to be 32-bit ints 2021-11-28 17:17:51 -05:00
Joey Castillo c8e21a1957 movemment: tweak capitalization of some settings 2021-11-28 17:16:36 -05:00
Joey Castillo 63448e1028 background tasks have been implemented 2021-11-27 17:00:16 -05:00
Joey Castillo 3a7c73a34e movement: preferences should show 'blu' for watches with blue LED 2021-11-27 16:48:51 -05:00
Joey Castillo 002d368a25 movement: add world clock face 2021-11-26 13:43:47 -05:00
Joey Castillo aac7a2a854 movement: have beats and TOTP face use new time zone setting 2021-11-25 10:47:59 -05:00
Joey Castillo b94c0ba65f movement: store settings in BKUP to persist across resets 2021-11-25 10:39:09 -05:00
Joey Castillo 5c3967aea2 movement: implement time zone setting 2021-11-25 10:36:01 -05:00
Joey Castillo 1a1a862d79 movement: TOTP face, pad code with leading zeroes 2021-11-24 12:20:32 -05:00
Joey Castillo 169d4486f9 movement: make TOTP face go home on timeout 2021-11-24 12:18:28 -05:00
Joey Castillo 3a420d5c6c add header guards, move declarations to source file 2021-11-24 12:14:17 -05:00
Wesley Ellis 4a0ff55773 Properly vendor TOTP-MCU temporarily 2021-11-23 21:40:27 -05:00
Wesley Ellis 121e6fd165 optimize totp face and add countdown 2021-11-23 21:40:27 -05:00
Wesley Ellis b7ed9adb6c Add initial TOTP watch face impl
Vendor code from https://github.com/Netthaw/TOTP-MCU to do the
heavy lifting of computing SHA-1 and HMAC and the rest of TOTP

Also implement a date_time to unix timestamp method
2021-11-22 21:37:21 -05:00
Joey Castillo 7817e6696e Merge branch 'main' of github.com:joeycastillo/Sensor-Watch into main 2021-11-22 17:35:50 -05:00
Joey Castillo 0ca729eaba move thermistor calculation to watch utilities 2021-11-22 17:31:51 -05:00
Wesley Ellis b0ec40ae46 Add stopwatch face to movement
Simple stopwatch that only counts seconds (not subseconds), minutes
and yes, even hours
2021-11-10 21:17:24 -05:00
Joey Castillo 1b4bfe35c2 movement: day one watch face, counts days from birth 2021-11-08 09:59:23 -06:00
Joey Castillo 61f479db5a movement: preferences refactor, two new types 2021-11-08 09:25:06 -06:00
Joey Castillo 67d84c6d42 bugfix: activate current watch face when waking from sleep 2021-11-08 07:11:59 -06:00
Joey Castillo 82e7a61759 beat time: add low energy tick animation 2021-11-07 00:30:25 -04:00
Joey Castillo ef40d58afc movement: refactor timeout to tick first, then notify 2021-11-07 00:29:27 -04:00
Joey Castillo 0f03257ee9 movement: add voltage monitor watch face 2021-11-06 23:52:00 -04:00
Joey Castillo 88f41b12fc don't destroy our temperature log when waking from sleep 2021-10-25 18:32:59 -04:00
Joey Castillo c8041627ee movement temperature face: only enable thermistor when reading data 2021-10-23 18:15:22 -04:00
Joey Castillo 8475ffcd7a movement: first crack at background tasks API 2021-10-23 17:55:19 -04:00
joeycastillo 0b4d0de15b
Merge pull request #19 from tahnok/beats_watch_face
Port beats to movement framework
2021-10-23 16:36:26 -04:00
Joey Castillo 27f699af80 WIP: thermistor data logger 2021-10-23 16:23:36 -04:00
Joey Castillo 13d6ea10d7 fix name of ifdef in thermistor readout face 2021-10-23 16:14:03 -04:00
Joey Castillo 8f6cd8b290 move weekday lookup to new utilities file 2021-10-23 16:13:11 -04:00
Wesley Ellis 66e95e4ab8 Port beats to movement framework 2021-10-23 15:45:20 -04:00
Joey Castillo f1a706792e movement: add character set demo 2021-10-21 17:28:59 -04:00
Joey Castillo b88cd0cd7e movement: add thermistor readout face 2021-10-21 13:13:46 -04:00
Joey Castillo 38a2dff234 more accurate names for deep sleep and shallow sleep modes 2021-10-20 13:45:22 -04:00
Joey Castillo 1020dd7898 movement: fix preferences glitch, add some notes 2021-10-20 10:36:55 -04:00
Joey Castillo 148a47f76a movement: add tick animation in sleep mode 2021-10-19 15:37:08 -04:00
Joey Castillo 75be621914 movement settings: add timeout and LED duration 2021-10-19 13:46:25 -04:00
Joey Castillo 3271009857 fix typos 2021-10-18 15:36:39 -04:00
Joey Castillo 77951ccda1 add readme for movement app 2021-10-18 15:11:01 -04:00
Joey Castillo 86d316008c movement: remove faster sleep / timeout intervals 2021-10-18 13:55:30 -04:00
Joey Castillo 1db9e18b92 pulsometer: rearrange switch for clarity 2021-10-18 13:55:30 -04:00
Joey Castillo 93624f0b69 add timeout event to give faces a chance to resign 2021-10-18 13:55:22 -04:00
Joey Castillo 8dbbe92a9b pulsometer: make type more c-like 2021-10-18 11:27:36 -04:00
Joey Castillo b4d4f62ba8 pulsometer: reset tick in resign function 2021-10-18 11:15:58 -04:00
Joey Castillo c27dbc779b fix misspelling of pulsometer 2021-10-16 16:51:36 -04:00
Joey Castillo 05fe055f99 automatically determine number of watch faces 2021-10-16 16:34:12 -04:00
Joey Castillo 0cfb37c671 early work on background tasks, documentation 2021-10-16 16:03:52 -04:00
Joey Castillo 458ebf6987 remove unimplemented settings for now 2021-10-16 13:48:16 -04:00
Joey Castillo 69397e9b0f implement led duration setting 2021-10-16 13:47:42 -04:00