Commit graph

76 commits

Author SHA1 Message Date
Joey Castillo 0c59c972e7 lis2dw: add FIFO support 2022-02-17 16:36:21 -05:00
Joey Castillo 4f29cf24f3 movement: move thermistor to 'sensor' watch faces 2022-02-17 14:47:47 -05:00
Joey Castillo 15cbe09410 move pins.h include to watch.h 2022-02-17 11:59:19 -05:00
Joey Castillo 203850104d remove obsolete low battery check 2022-02-13 14:01:21 -05:00
Joey Castillo df3db08021 sleep / deepsleep: update low power numbers 2022-02-13 11:25:28 -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 27fa69ccac eic: clock from OSCULP32K for power savings 2022-02-11 12:17:55 -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 df0c2bfd80 remove debug statements 2022-02-05 17:33:34 -05:00
Joey Castillo a3085cb136 Merge branch 'main' of github.com:joeycastillo/Sensor-Watch 2022-02-01 00:24:20 -05:00
Joey Castillo 518a9aa919 add function for converting to 12 hour time 2022-01-31 21:17:10 -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
Alexsander Akers a0f8e9c8bc Implement buzzer methods with AudioContext API 2022-01-27 11:12:01 -05:00
Joey Castillo 14e4562b7a add SPI to the index 2022-01-27 10:51:15 -05:00
Joey Castillo 523a5d2f0b implement SPI flash chip 2022-01-26 22:40:49 -05:00
Joey Castillo a11275d84c watch library: implement SPI 2022-01-26 21:33:05 -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 0c78fdf535 watch library: implement UART 2022-01-26 19:31:49 -05:00
Alexsander Akers 84b65cb699 Remove ADC_* defines in favor of hardware-specific mapping 2022-01-25 17:28:15 -05:00
Alexsander Akers b8de35658f
Sensor Watch Simulator (#35)
* Put something on screen

* Use the 32bit watch_date_time repr to pass from JS

* Implement periodic callbacks

* Clear display on enabling

* Hook up watch_set_led_color() to SVG (green-only)

* Make debug output full-width

* Remove default Emscripten canvas

* Implement sleep and button clicks

* Fix time zone conversion bug in beats-time app

* Clean up warnings

* Fix pin levels

* Set time zone to browser value (if available)

* Add basic backup data saving

* Silence format specifier warnings in both targets

* Remove unnecessary, copied files

* Use RTC pointer to clear callbacks (if available)

* Use preprocessor define to avoid hardcoding MOVEMENT_NUM_FACES

* Change each face to const preprocessor definition

* Remove Intl.DateTimeFormat usage

* Update shell.html title, header

* Add touch start/end event handlers on SVG buttons

* Update shell.html

* Update folder structure (shared, simulator, hardware under watch-library)

* Tease out shared components from watch_slcd

* Clean up simulator watch_slcd.c inline JS calls

* Fix missing newlines at end of file

* Add simulator warnings (except format, unused-paremter)

* Implement remaining watch_rtc functions

* Fix button bug on mouse down then drag out

* Implement remaining watch_slcd functions

* Link keyboard events to buttons (for keys A, L, M)

* Rewrite event handling (mouse, touch, keyboard) in C

* Set explicit text UTF-8 charset in shell.html

* Address PR comments

* Remove unused directories from include paths
2022-01-25 15:03:22 -05:00