Commit graph

439 commits

Author SHA1 Message Date
Joey Castillo 8cba4516bb add additional watch face types to generator 2022-02-18 10:05:46 -05:00
Joey Castillo 2670f611cc lis2dw: dump all fifo data in loop 2022-02-18 09:53:22 -05:00
Joey Castillo 75c98a6c97 tweaks to SPI test 2022-02-18 09:52:41 -05:00
Joey Castillo 8e1c7f0631 lis2dw: bugfix, only read once 2022-02-18 09:23:58 -05:00
Joey Castillo df2cc7e94f WIP accelerometer logging to flash 2022-02-18 00:05:57 -05:00
Joey Castillo 0c59c972e7 lis2dw: add FIFO support 2022-02-17 16:36:21 -05:00
Joey Castillo deda65b313 no need to build lis2dh driver anymore 2022-02-17 14:48:40 -05:00
Joey Castillo 4f29cf24f3 movement: move thermistor to 'sensor' watch faces 2022-02-17 14:47:47 -05:00
Joey Castillo 0337d198ff SPI test: just read the chip ID 2022-02-17 14:28:53 -05:00
Joey Castillo 15cbe09410 move pins.h include to watch.h 2022-02-17 11:59:19 -05:00
Joey Castillo 37f97023a5 sensor boards: add UART breakout 2022-02-17 10:56:47 -05:00
Joey Castillo 0fcc60e388 movement: add moon phase complication 2022-02-14 14:07:52 -05:00
Joey Castillo 2d9192dff1 remove obsolete low battery function from simulator 2022-02-13 23:32:17 -05:00
Joey Castillo c7f6387aee on second thought: keep BOD33 disabled in sleep mode 2022-02-13 16:04:21 -05:00
Joey Castillo b91f025542 enable high-efficiency low power regulator 2022-02-13 14:15:00 -05:00
Joey Castillo 203850104d remove obsolete low battery check 2022-02-13 14:01:21 -05:00
Joey Castillo 7815b0f64e always turn off PA20 at boot 2022-02-13 13:59:22 -05:00
Joey Castillo df3db08021 sleep / deepsleep: update low power numbers 2022-02-13 11:25:28 -05:00
Joey Castillo ee95229e19 world clock: store settings in backup register if possible 2022-02-13 11:25:28 -05:00
Joey Castillo 0bb267c702 movement: start time zone list at UTC 2022-02-13 11:25:28 -05:00
Joey Castillo 96017d6ec1 movement: add mechanism for watch faces to use backup registers 2022-02-13 11:25:28 -05:00
Joey Castillo b8cb6f3bcf movement: prevent invalid tick frequency from breaking scheduled tasks 2022-02-12 22:19:01 -05:00
Joey Castillo 5dac14974c osc32kctrl: implement CONF_SLCDCTRL_SRC setting 2022-02-11 12:22:11 -05:00
Joey Castillo 74f8747764 slcd: lower LCD refresh frequency (~57Hz -> ~34Hz) 2022-02-11 12:20:50 -05:00
Joey Castillo 21f8a9f7cf slcd: lower reference refresh frequency (saves energy) 2022-02-11 12:19:10 -05:00
Joey Castillo 87be905fee rtc: disable debouncing on external wake inputs 2022-02-11 12:18:16 -05:00
Joey Castillo 27fa69ccac eic: clock from OSCULP32K for power savings 2022-02-11 12:17:55 -05:00
Joey Castillo 108b9991d2 simulator: add geolocation support 2022-02-09 13:40:29 -05:00
joeycastillo 79b037b4fb
Merge pull request #53 from joeycastillo/stopwatch-improvements
Make stopwatch work off-screen and in low energy mode
2022-02-07 10:19:47 -05:00
Joey Castillo 275960be83 movement: make stopwatch work off-screen + in low energy mode 2022-02-06 15:05:28 -05:00
Joey Castillo aae9160422 utility: add function for formatting a duration in days + HMS 2022-02-06 15:00:58 -05:00
Joey Castillo 0542357dc0 test board for NFC with onboard antenna 2022-02-06 12:00:58 -05:00
Joey Castillo 18302bf9c4 movement: add low battery warning to simple clock 2022-02-05 17:42:43 -05:00
Joey Castillo df0c2bfd80 remove debug statements 2022-02-05 17:33:34 -05:00
Joey Castillo 505f692037 sunrise/sunset: align date at extreme latitudes 2022-02-05 16:06:02 -05:00
Joey Castillo 74e47f9857 sunrise/sunset: update display after sunrise/sunset 2022-02-05 15:13:50 -05:00
Joey Castillo 7096435738 sunrise/sunset: improve timeout behavior 2022-02-05 14:05:33 -05:00
Joey Castillo f4bfe45b7c sunrise/sunset: remove test locations 2022-02-05 13:54:02 -05:00
Joey Castillo 3d7a21e3c3 fix paste layer on some sensor boards 2022-02-05 13:37:19 -05:00
joeycastillo c74cacd34f
Merge pull request #49 from davidskeck/patch-4
Added output to watch face script
2022-02-05 13:36:47 -05:00
David Keck e33530e1d0
Added output to watch face script
changed `--author_name` to `--author-name` to match typical style of command line arguments
changed some function names and implementations to improve readability
changed to `sys.exit` instead of exit as `sys.exit` is recommended for use in programs and `exit` is intended for use in the interactive shell (this can cause issues for some terminal emulators)
2022-02-04 21:44:45 -06:00
Joey Castillo a3085cb136 Merge branch 'main' of github.com:joeycastillo/Sensor-Watch 2022-02-01 00:24:20 -05:00
Joey Castillo 658739c880 sunrise/sunset: deal with timezones, other improvements 2022-01-31 21:22:48 -08:00
Joey Castillo 518a9aa919 add function for converting to 12 hour time 2022-01-31 21:17:10 -08:00
Joey Castillo 7085f89bfa sunrise/sunset: always set the sign bit 2022-01-31 17:17:34 -08:00
joeycastillo 932e10529d
Merge pull request #43 from a2/rtc-disable-matching-mask
Add new function to disable certain RTC periodic callbacks
2022-01-27 14:33:45 -05:00
Joey Castillo 5fb8dabdd2 Merge branch 'main' of github.com:joeycastillo/Sensor-Watch into main 2022-01-27 14:28:46 -05:00
Joey Castillo 45aa04f4ac spi test: set first 4096 bytes to 0 2022-01-27 14:28:37 -05:00
Alexsander Akers a4cb3c8594 Adjust function semantics by "flipping" bit order 2022-01-27 12:06:06 -05:00
Alexsander Akers a559d089f1 Add new function to disable certain RTC periodic callbacks 2022-01-27 12:06:06 -05:00