Commit Graph
100 Commits
Author SHA1 Message Date
Joey Castillo a26e6786ee fix spi test (again) 2022-01-27 10:45:01 -05:00
Joey Castillo 5e4dc9ae51 fix spi test 2022-01-27 09:17:58 -05:00
Joey Castillo 523a5d2f0b implement SPI flash chip 2022-01-26 22:40:49 -05:00
Joey Castillo b2dbc4feeb silence compiler warning 2022-01-26 22:15:53 -05:00
Joey Castillo a11275d84c watch library: implement SPI 2022-01-26 21:33:05 -05:00
Joey Castillo 1b1bba2de0 silence compiler warning 2022-01-26 21:04:56 -05:00
Joey Castillo fe5a3eecff Merge branch 'main' of github.com:joeycastillo/Sensor-Watch into main 2022-01-26 20:36:49 -05:00
Joey Castillo f036d6a515 PCB: add final temperature sensor board 2022-01-26 20:36:40 -05:00
Joey Castillo 5d5e5b125a watch face script: autopopulate year 2022-01-26 20:31:04 -05:00
joeycastilloandGitHub 97da35da26 Merge pull request #47 from davidskeck/main
Added rough draft of watch_face script
2022-01-26 20:29:27 -05:00
Joey Castillo d65103b03b silence compiler warnings 2022-01-26 20:16:52 -05:00
Joey Castillo 0c78fdf535 watch library: implement UART 2022-01-26 19:31:49 -05:00
joeycastilloandGitHub 725f17bfb6 Merge pull request #46 from a2/simulator-workflow
Add GitHub Workflow job to build and archive simulator
2022-01-25 18:59:40 -05:00
joeycastilloandGitHub bbda09e23f Merge pull request #44 from a2/voltage-reference
Remove ADC_* defines in favor of hardware-specific mapping
2022-01-25 17:57:25 -05:00
Joey Castillo 71ea3b9de9 movement: add documentation mentioned in #42 2022-01-25 17:36:04 -05:00
Joey Castillo 2a59ae950f movement: add blinky face 2022-01-25 17:28:22 -05:00
Joey Castillo bcca6cc596 movement: remove blinky face 2022-01-25 17:27:46 -05:00
Joey Castillo f819a18791 movement: add template for watch face generator 2022-01-25 17:12:56 -05:00
Joey Castillo 34c7ecfd96 movement: move watch face includes to a separate file 2022-01-25 17:06:04 -05:00
Joey Castillo 2e345d9f66 movement: slight reorganization 2022-01-25 17:04:07 -05:00
Joey Castillo fcfb651c11 movement: add two faces to default build 2022-01-25 15:53:18 -05:00
Joey Castillo 249bfc183c movement: move beat time to clock folder 2022-01-25 15:39:04 -05:00
Joey Castillo 9e24f6c336 movement: add blinky face 2022-01-23 13:04:38 -05:00
Joey Castillo 6ca8c78e0d movement: didn't mean to add sunrise/sunset by default 2022-01-21 12:06:06 -05:00
Joey Castillo a21ad54aac movement: simple UI for entering wearer location 2022-01-21 11:25:43 -05:00
Joey Castillo 68f17c8970 movement: add time zone conversion in sunrise/sunset face 2022-01-21 00:11:43 -05:00
Joey Castillo 3efdcd78a1 fix out of bounds access when position != 0 2022-01-19 17:22:31 -05:00
Joey Castillo c012a65ea2 accelerometer test face: hacks 2022-01-19 17:20:29 -05:00
Joey Castillo 99c518e421 movement: long press on MODE always dismisses the active face 2022-01-19 14:32:33 -05:00
joeycastilloandGitHub a499cebc3c Merge pull request #38 from davidskeck/patch-2
Simple Clock: Update to signal exactly on the hour
2022-01-19 14:14:39 -05:00
joeycastilloandGitHub e0168c6de2 Merge pull request #39 from davidskeck/patch-3
Reset selection to 0 on resign from setting state
2022-01-19 13:24:58 -05:00
Joey Castillo 138b3d0c5e movement: reset tick to 1 Hz between watch faces (fixes #36) 2022-01-19 11:16:10 -05:00
joeycastilloandGitHub fb71be55ee add movement to the workflow 2022-01-19 09:23:21 -05:00
joeycastilloandGitHub 1ae83e8fd4 Merge pull request #37 from davidskeck/patch-2
Countdown: Added ability to reset to default timer value
2022-01-19 09:15:47 -05:00
Joey Castillo 903ae6eff8 movement: sunrise/sunset face documentation 2022-01-16 09:39:18 -05:00
Joey Castillo 010bb3be95 sunrise/sunset face: no need to update this every second 2022-01-15 19:35:47 -05:00
Joey Castillo 5fccc24c98 Merge branch 'main' of github.com:joeycastillo/Sensor-Watch into main 2022-01-15 19:27:24 -05:00
Joey Castillo baf25aaa7a movement: add sunrise/sunset face 2022-01-15 19:23:49 -05:00
joeycastilloandGitHub 3be8b03c4f Merge pull request #29 from tahnok/countdown
Countdown
2022-01-15 19:01:06 -05:00
Joey Castillo 41eaa9c1c0 add MIT license text to movement files 2022-01-15 14:53:56 -05:00
Joey Castillo 19fd519209 add gettimeofday function 2022-01-15 12:26:17 -05:00
Joey Castillo 0c68b9fba5 motion board express 2022-01-10 19:12:13 -05:00
Joey Castillo c356a81bbd Merge branch 'main' of github.com:joeycastillo/Sensor-Watch into main 2022-01-09 15:26:58 -05:00
Joey Castillo 669673fd4b accelerometer test: stream data to UART 2022-01-09 15:26:45 -05:00
Joey Castillo 68e792f9b7 lis2dw: add low power / low noise mode 2022-01-09 12:25:56 -05:00
Joey Castillo a102675522 set correct registers for range and rate 2022-01-09 12:12:41 -05:00
Joey Castillo 54762248a3 use lowest power LP mode 2022-01-09 12:06:44 -05:00
Joey Castillo 71c2eaa3f9 shuffle uart pins for new accelerometer board 2022-01-09 12:05:21 -05:00
Joey Castillo 5ceec26d5a start in low power mode 2022-01-09 12:02:58 -05:00
Joey Castillo 1ea476ca24 remove unused enums 2022-01-09 12:02:26 -05:00
joeycastilloandGitHub d566a68da5 fix filename capitalization 2022-01-08 20:30:02 -05:00
Joey Castillo 496530c85c add driver, test app for LIS2DW accelerometer 2022-01-08 19:27:41 -05:00
Joey Castillo 6be308f88d Merge branch 'main' of github.com:joeycastillo/Sensor-Watch into main 2022-01-06 18:19:41 -05:00
Joey Castillo 1d5d2db823 new simulated screens 2022-01-06 18:19:29 -05:00
Joey Castillo a8ab793799 add testing app 2022-01-06 14:58:50 -05:00
Joey Castillo c5ecf1dabd Merge branch 'main' of https://github.com/joeycastillo/Sensor-Watch into main 2022-01-04 15:38:42 -05:00
Joey Castillo 16ac7534c4 new temperature board rev (+20 mils to flex connector) 2022-01-04 15:38:35 -05:00
Joey Castillo 311cfdb5f4 rearrange hello face, documentation reasons 2021-12-22 10:02:48 -06:00
Joey Castillo 9628379382 add comments to 'hello there' face 2021-12-21 12:58:05 -06:00
Joey Castillo 221e41f58c add 'hello there' face, demo for documentation 2021-12-21 12:30:20 -06:00
Joey Castillo 4862472d1d Merge branch 'main' of github.com:joeycastillo/Sensor-Watch into main 2021-12-21 10:05:40 -06:00
Joey Castillo 6256e709bf movement: add hourly signal to simple clock face 2021-12-21 10:05:06 -06:00
Joey Castillo b341227797 add utility function to check if TCC is enabled 2021-12-21 10:01:33 -06:00
Joey Castillo 1a4612f259 add documentation for watch face index 2021-12-21 08:20:08 -06:00
Joey Castillo 60fe969191 Movement: give watch faces their index at setup time 2021-12-20 17:02:17 -06:00
Joey Castillo 03e107b81a Movement: allow scheduling precisely timed background tasks (resolves #28) 2021-12-20 12:37:11 -06:00
joeycastilloandGitHub b903c9665f trigger pages workflow only on push to main 2021-12-14 12:07:13 -06:00
joeycastilloandGitHub e8e9a0e2d8 Merge pull request #24 from willianpaixao/add-github-actions
introduce github actions
2021-12-14 11:06:29 -06:00
Joey Castillo 26617ad90f remove notes from rev 5 PCB 2021-12-14 10:58:17 -06:00
Joey Castillo 027b2ef4a5 remove unnecessary .gitignore 2021-12-11 11:28:18 -05:00
Joey Castillo 1ea5581e55 Merge branch 'main' of github.com:joeycastillo/Sensor-Watch into pr/24 2021-12-10 12:17:47 -05:00
Joey Castillo 762af872d2 fix missing prototype warnings 2021-12-10 12:00:26 -05:00
Joey Castillo 316e1f292c rename project files 2021-12-10 11:54:16 -05:00
Joey Castillo 616587a203 add demo watch face 2021-12-10 11:33:07 -05:00
Joey Castillo 8e06100b81 more accelerometer and temperature board tests 2021-12-09 12:25:26 -05:00
joeycastilloandGitHub c0d02ceddd Merge pull request #25 from willianpaixao/add-submodules
Add tinyusb as git submodules
2021-12-08 15:52:07 -05:00
Joey Castillo d33d3fbd51 remove --recursive flag from git submodule update 2021-12-08 15:51:41 -05:00
Joey Castillo c25b6929cd add new temperature + gpio board 2021-12-07 20:45:15 -05:00
Joey Castillo 910e50d9be tweaks to the next pair of sensor boards 2021-12-07 19:47:41 -05:00
Joey Castillo e202c48b0a fix missing prototype warnings 2021-12-05 23:49:26 -06:00
Joey Castillo ed94efcb85 rename project files 2021-12-05 23:06:25 -06:00
Joey Castillo c5400e437f ensure accelerometer test face always stays active 2021-12-05 22:56:09 -06:00
Joey Castillo eb66b67e8e more accelerometer tests: track interrupts on each axis, log on the quarter hour 2021-12-05 16:25:41 -06:00
Joey Castillo bbd394a19a use true random number generator to provide entropy 2021-12-03 21:12:15 -05:00
Joey Castillo 5a6bf6bfe2 movement: remove testing watch face from config 2021-12-03 19:06:25 -05:00
Joey Castillo 00c1f656d3 add rev 05 board with red/green LED 2021-12-03 11:45:40 -05:00
Joey Castillo 8e2bf8591a movement: allow watch faces to request zero ticks 2021-12-03 11:30:36 -05:00
Joey Castillo 25d54101b1 movement: update comment; we store this data now 2021-12-02 15:11:18 -05:00
Joey Castillo 77d3e5640f movement: add option to always snap back to first watch face 2021-12-02 15:10:49 -05:00
Joey Castillo 8723c70033 movement: fix off-by-one error in accelerometer test face 2021-12-01 18:57:03 -05:00
Joey Castillo 0679d84c03 movement: add experimental accelerometer data logging face 2021-12-01 14:57:06 -05:00
Joey Castillo 2504a922a3 movement: help beats face update the screen less often 2021-12-01 11:30:19 -05:00
Joey Castillo 0f89c11eba movement: remove floating point math from beats face 2021-12-01 10:43:01 -05:00
Joey Castillo 36be251e89 lis2dh: add support for interrupt latching (stays active until cleared) 2021-12-01 09:41:48 -05:00
Joey Castillo b60d63f263 movement: after profiling, temp and battery can ignore timeout 2021-12-01 09:25:40 -05:00
Joey Castillo 333c5e8b9e movement: remove TODO item (we profiled it, it's fine) 2021-12-01 09:07:40 -05:00
Joey Castillo c3095f7cfe lis2dh: accelerometer testing face 2021-11-30 20:20:21 -05:00
Joey Castillo 45282f2ef4 lis2dh driver: add support for int2 pin 2021-11-30 20:02:41 -05:00
Joey Castillo 4ae46f907b lis2dh driver: add basic interrupt functionality 2021-11-30 19:33:49 -05:00
Joey Castillo 48ceef7af3 fix (most) external interrupts on the 9-pin connector 2021-11-30 17:02:42 -05:00