]>
git.earman.xyz Git - sensor-watch.git/log
Joey Castillo [Tue, 1 Feb 2022 05:17:10 +0000 (21:17 -0800)]
add function for converting to 12 hour time
Joey Castillo [Tue, 1 Feb 2022 01:17:34 +0000 (17:17 -0800)]
sunrise/sunset: always set the sign bit
Joey Castillo [Thu, 27 Jan 2022 19:28:46 +0000 (14:28 -0500)]
Merge branch 'main' of github.com:joeycastillo/Sensor-Watch into main
Joey Castillo [Thu, 27 Jan 2022 19:28:37 +0000 (14:28 -0500)]
spi test: set first 4096 bytes to 0
joeycastillo [Thu, 27 Jan 2022 17:02:51 +0000 (12:02 -0500)]
Merge pull request #45 from a2/simulator-buzzer
Implement buzzer methods with AudioContext API
Joey Castillo [Thu, 27 Jan 2022 16:24:25 +0000 (11:24 -0500)]
you don't belong here
Alexsander Akers [Thu, 27 Jan 2022 01:24:15 +0000 (20:24 -0500)]
Update main loop to fix reentrancy runtime errors
Alexsander Akers [Thu, 27 Jan 2022 16:12:01 +0000 (11:12 -0500)]
Implement buzzer methods with AudioContext API
Joey Castillo [Thu, 27 Jan 2022 15:51:15 +0000 (10:51 -0500)]
add SPI to the index
Joey Castillo [Thu, 27 Jan 2022 15:46:53 +0000 (10:46 -0500)]
fix doxygen generation
Joey Castillo [Thu, 27 Jan 2022 15:45:01 +0000 (10:45 -0500)]
fix spi test (again)
Joey Castillo [Thu, 27 Jan 2022 14:17:58 +0000 (09:17 -0500)]
fix spi test
Joey Castillo [Thu, 27 Jan 2022 03:39:09 +0000 (22:39 -0500)]
implement SPI flash chip
Joey Castillo [Thu, 27 Jan 2022 03:15:53 +0000 (22:15 -0500)]
silence compiler warning
Joey Castillo [Thu, 27 Jan 2022 02:32:55 +0000 (21:32 -0500)]
watch library: implement SPI
Joey Castillo [Thu, 27 Jan 2022 02:04:56 +0000 (21:04 -0500)]
silence compiler warning
Joey Castillo [Thu, 27 Jan 2022 01:36:49 +0000 (20:36 -0500)]
Merge branch 'main' of github.com:joeycastillo/Sensor-Watch into main
Joey Castillo [Thu, 27 Jan 2022 01:36:40 +0000 (20:36 -0500)]
PCB: add final temperature sensor board
Joey Castillo [Thu, 27 Jan 2022 01:31:04 +0000 (20:31 -0500)]
watch face script: autopopulate year
joeycastillo [Thu, 27 Jan 2022 01:29:27 +0000 (20:29 -0500)]
Merge pull request #47 from davidskeck/main
Added rough draft of watch_face script
Joey Castillo [Thu, 27 Jan 2022 01:16:52 +0000 (20:16 -0500)]
silence compiler warnings
Joey Castillo [Thu, 27 Jan 2022 00:31:49 +0000 (19:31 -0500)]
watch library: implement UART
David Keck [Thu, 27 Jan 2022 00:15:16 +0000 (19:15 -0500)]
minor typo fix
David Keck [Thu, 27 Jan 2022 00:12:12 +0000 (19:12 -0500)]
added missing newlines to template files
David Keck [Thu, 27 Jan 2022 00:07:51 +0000 (19:07 -0500)]
Added license info to script
David Keck [Wed, 26 Jan 2022 23:59:48 +0000 (18:59 -0500)]
Added rough draft of watch_face script to generate custom watch faces from template. Corrected template file's missing includes and incorrect memset placeholder.
joeycastillo [Tue, 25 Jan 2022 23:59:40 +0000 (18:59 -0500)]
Merge pull request #46 from a2/simulator-workflow
Add GitHub Workflow job to build and archive simulator
Alexsander Akers [Tue, 25 Jan 2022 23:17:51 +0000 (18:17 -0500)]
Remove dangling `if` condition
Alexsander Akers [Tue, 25 Jan 2022 23:16:31 +0000 (18:16 -0500)]
Don't compile starter-project or accelerometer-test
These apps have not been tested in the simulator runtime yet.
Alexsander Akers [Tue, 25 Jan 2022 23:09:56 +0000 (18:09 -0500)]
Add GitHub Workflow job to build and archive simulator
joeycastillo [Tue, 25 Jan 2022 22:57:25 +0000 (17:57 -0500)]
Merge pull request #44 from a2/voltage-reference
Remove ADC_* defines in favor of hardware-specific mapping
Joey Castillo [Tue, 25 Jan 2022 22:36:04 +0000 (17:36 -0500)]
movement: add documentation mentioned in #42
Joey Castillo [Tue, 25 Jan 2022 22:28:22 +0000 (17:28 -0500)]
movement: add blinky face
Alexsander Akers [Tue, 25 Jan 2022 00:06:54 +0000 (19:06 -0500)]
Remove ADC_* defines in favor of hardware-specific mapping
Joey Castillo [Tue, 25 Jan 2022 22:27:40 +0000 (17:27 -0500)]
movement: remove blinky face
Joey Castillo [Tue, 25 Jan 2022 22:12:56 +0000 (17:12 -0500)]
movement: add template for watch face generator
Joey Castillo [Tue, 25 Jan 2022 22:06:04 +0000 (17:06 -0500)]
movement: move watch face includes to a separate file
Joey Castillo [Tue, 25 Jan 2022 22:04:07 +0000 (17:04 -0500)]
movement: slight reorganization
Joey Castillo [Tue, 25 Jan 2022 20:53:18 +0000 (15:53 -0500)]
movement: add two faces to default build
Joey Castillo [Tue, 25 Jan 2022 20:39:04 +0000 (15:39 -0500)]
movement: move beat time to clock folder
Alexsander Akers [Tue, 25 Jan 2022 20:03:22 +0000 (15:03 -0500)]
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
Joey Castillo [Sun, 23 Jan 2022 18:02:18 +0000 (13:02 -0500)]
movement: add blinky face
Joey Castillo [Fri, 21 Jan 2022 17:06:06 +0000 (12:06 -0500)]
movement: didn't mean to add sunrise/sunset by default
Joey Castillo [Fri, 21 Jan 2022 16:25:43 +0000 (11:25 -0500)]
movement: simple UI for entering wearer location
Joey Castillo [Fri, 21 Jan 2022 05:11:28 +0000 (00:11 -0500)]
movement: add time zone conversion in sunrise/sunset face
Joey Castillo [Wed, 19 Jan 2022 22:22:31 +0000 (17:22 -0500)]
fix out of bounds access when position != 0
Joey Castillo [Wed, 19 Jan 2022 22:20:17 +0000 (17:20 -0500)]
accelerometer test face: hacks
Joey Castillo [Wed, 19 Jan 2022 19:32:33 +0000 (14:32 -0500)]
movement: long press on MODE always dismisses the active face
joeycastillo [Wed, 19 Jan 2022 19:14:39 +0000 (14:14 -0500)]
Merge pull request #38 from davidskeck/patch-2
Simple Clock: Update to signal exactly on the hour
joeycastillo [Wed, 19 Jan 2022 18:24:58 +0000 (13:24 -0500)]
Merge pull request #39 from davidskeck/patch-3
Reset selection to 0 on resign from setting state
David Keck [Wed, 19 Jan 2022 18:12:43 +0000 (12:12 -0600)]
Reset selection to 0 on resign from setting state
I believe this also needs to be set back to 0 so the setting screen will resume at minutes, not potentially at settings on next run.
David Keck [Wed, 19 Jan 2022 18:06:12 +0000 (12:06 -0600)]
Simple Clock: Update to signal exactly on the hour
I was getting the buzzer at 59 minutes past the hour, not exactly on the hour. This changes to buzzing at exactly HOUR:00:00. Tested this locally.
Joey Castillo [Wed, 19 Jan 2022 16:16:10 +0000 (11:16 -0500)]
movement: reset tick to 1 Hz between watch faces (fixes #36)
joeycastillo [Wed, 19 Jan 2022 14:23:21 +0000 (09:23 -0500)]
add movement to the workflow
joeycastillo [Wed, 19 Jan 2022 14:15:47 +0000 (09:15 -0500)]
Merge pull request #37 from davidskeck/patch-2
Countdown: Added ability to reset to default timer value
David Keck [Wed, 19 Jan 2022 03:53:25 +0000 (22:53 -0500)]
Changed reset mode to setting instead of waiting
After thinking about this, I think it is more intuitive that this would only apply when in setting mode.
David Keck [Wed, 19 Jan 2022 03:29:04 +0000 (22:29 -0500)]
Added ability to reset to default timer value
Added option to reset to the default timer value when in waiting mode and on long press of alarm. This was useful to me as I sometimes accidentally increase the timer value and then would need to loop around to get back to the default value.
Joey Castillo [Sun, 16 Jan 2022 14:39:18 +0000 (09:39 -0500)]
movement: sunrise/sunset face documentation
Joey Castillo [Sun, 16 Jan 2022 00:35:47 +0000 (19:35 -0500)]
sunrise/sunset face: no need to update this every second
Joey Castillo [Sun, 16 Jan 2022 00:27:24 +0000 (19:27 -0500)]
Merge branch 'main' of github.com:joeycastillo/Sensor-Watch into main
Joey Castillo [Sun, 16 Jan 2022 00:21:39 +0000 (19:21 -0500)]
movement: add sunrise/sunset face
joeycastillo [Sun, 16 Jan 2022 00:01:06 +0000 (19:01 -0500)]
Merge pull request #29 from tahnok/countdown
Countdown
Wesley Ellis [Sat, 1 Jan 2022 19:15:03 +0000 (14:15 -0500)]
Add Countdown Face
A simple countdown face using movement_schedule_background_task
so that it rings, even if the another face is active
Limited to 99 minutes and 59 seconds so that the watch isn't staying
out of deep sleep for too long
Joey Castillo [Sat, 15 Jan 2022 19:53:42 +0000 (14:53 -0500)]
add MIT license text to movement files
Joey Castillo [Sat, 15 Jan 2022 17:22:42 +0000 (12:22 -0500)]
add gettimeofday function
Joey Castillo [Tue, 11 Jan 2022 00:12:13 +0000 (19:12 -0500)]
motion board express
Joey Castillo [Sun, 9 Jan 2022 20:26:58 +0000 (15:26 -0500)]
Merge branch 'main' of github.com:joeycastillo/Sensor-Watch into main
Joey Castillo [Sun, 9 Jan 2022 20:26:45 +0000 (15:26 -0500)]
accelerometer test: stream data to UART
Joey Castillo [Sun, 9 Jan 2022 17:25:56 +0000 (12:25 -0500)]
lis2dw: add low power / low noise mode
Joey Castillo [Sun, 9 Jan 2022 17:12:41 +0000 (12:12 -0500)]
set correct registers for range and rate
Joey Castillo [Sun, 9 Jan 2022 17:06:44 +0000 (12:06 -0500)]
use lowest power LP mode
Joey Castillo [Sun, 9 Jan 2022 17:05:21 +0000 (12:05 -0500)]
shuffle uart pins for new accelerometer board
Joey Castillo [Sun, 9 Jan 2022 17:02:58 +0000 (12:02 -0500)]
start in low power mode
Joey Castillo [Sun, 9 Jan 2022 17:02:26 +0000 (12:02 -0500)]
remove unused enums
joeycastillo [Sun, 9 Jan 2022 01:30:02 +0000 (20:30 -0500)]
fix filename capitalization
Joey Castillo [Sun, 9 Jan 2022 00:27:41 +0000 (19:27 -0500)]
add driver, test app for LIS2DW accelerometer
Joey Castillo [Thu, 6 Jan 2022 23:19:41 +0000 (18:19 -0500)]
Merge branch 'main' of github.com:joeycastillo/Sensor-Watch into main
Joey Castillo [Thu, 6 Jan 2022 23:19:29 +0000 (18:19 -0500)]
new simulated screens
Joey Castillo [Thu, 6 Jan 2022 19:58:39 +0000 (14:58 -0500)]
add testing app
Joey Castillo [Tue, 4 Jan 2022 20:38:42 +0000 (15:38 -0500)]
Merge branch 'main' of https://github.com/joeycastillo/Sensor-Watch into main
Joey Castillo [Tue, 4 Jan 2022 20:38:35 +0000 (15:38 -0500)]
new temperature board rev (+20 mils to flex connector)
Wesley Ellis [Sat, 1 Jan 2022 19:13:04 +0000 (14:13 -0500)]
Add movement_cancel_background_task
Provide a way for a scheduled background task to be cancelled
Joey Castillo [Wed, 22 Dec 2021 16:02:48 +0000 (10:02 -0600)]
rearrange hello face, documentation reasons
Joey Castillo [Tue, 21 Dec 2021 18:58:05 +0000 (12:58 -0600)]
add comments to 'hello there' face
Joey Castillo [Tue, 21 Dec 2021 18:30:20 +0000 (12:30 -0600)]
add 'hello there' face, demo for documentation
Joey Castillo [Tue, 21 Dec 2021 16:05:40 +0000 (10:05 -0600)]
Merge branch 'main' of github.com:joeycastillo/Sensor-Watch into main
Joey Castillo [Tue, 21 Dec 2021 16:05:06 +0000 (10:05 -0600)]
movement: add hourly signal to simple clock face
Joey Castillo [Tue, 21 Dec 2021 16:01:33 +0000 (10:01 -0600)]
add utility function to check if TCC is enabled
Joey Castillo [Tue, 21 Dec 2021 01:51:57 +0000 (19:51 -0600)]
add documentation for watch face index
Joey Castillo [Mon, 20 Dec 2021 23:02:17 +0000 (17:02 -0600)]
Movement: give watch faces their index at setup time
Joey Castillo [Mon, 20 Dec 2021 18:35:37 +0000 (12:35 -0600)]
Movement: allow scheduling precisely timed background tasks (resolves #28)
joeycastillo [Tue, 14 Dec 2021 18:07:13 +0000 (12:07 -0600)]
trigger pages workflow only on push to main
joeycastillo [Tue, 14 Dec 2021 17:06:29 +0000 (11:06 -0600)]
Merge pull request #24 from willianpaixao/add-github-actions
introduce github actions
Joey Castillo [Tue, 14 Dec 2021 16:58:17 +0000 (10:58 -0600)]
remove notes from rev 5 PCB
Willian Paixao [Sat, 11 Dec 2021 20:29:27 +0000 (21:29 +0100)]
add github pages pipeline
Willian Paixao [Sat, 11 Dec 2021 19:37:52 +0000 (20:37 +0100)]
Merge remote-tracking branch 'origin/add-github-actions' into add-github-actions
Willian Paixao [Sat, 11 Dec 2021 19:33:58 +0000 (20:33 +0100)]
update makefile and pipeline workflow
Willian Paixao [Sun, 5 Dec 2021 17:37:44 +0000 (18:37 +0100)]
update gitgnore
Willian Paixao [Sun, 5 Dec 2021 12:58:44 +0000 (13:58 +0100)]
introduce github actions
Joey Castillo [Sat, 11 Dec 2021 16:28:18 +0000 (11:28 -0500)]
remove unnecessary .gitignore