]>
git.earman.xyz Git - sensor-watch.git/log
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
Joey Castillo [Fri, 10 Dec 2021 17:17:47 +0000 (12:17 -0500)]
Merge branch 'main' of github.com:joeycastillo/Sensor-Watch into pr/24
Joey Castillo [Mon, 6 Dec 2021 05:49:26 +0000 (23:49 -0600)]
fix missing prototype warnings
Joey Castillo [Mon, 6 Dec 2021 05:06:25 +0000 (23:06 -0600)]
rename project files
Joey Castillo [Fri, 10 Dec 2021 16:33:07 +0000 (11:33 -0500)]
add demo watch face
Joey Castillo [Thu, 9 Dec 2021 17:25:26 +0000 (12:25 -0500)]
more accelerometer and temperature board tests
joeycastillo [Wed, 8 Dec 2021 20:52:07 +0000 (15:52 -0500)]
Merge pull request #25 from willianpaixao/add-submodules
Add tinyusb as git submodules
Joey Castillo [Wed, 8 Dec 2021 20:51:41 +0000 (15:51 -0500)]
remove --recursive flag from git submodule update
Joey Castillo [Wed, 8 Dec 2021 01:45:15 +0000 (20:45 -0500)]
add new temperature + gpio board
Joey Castillo [Wed, 8 Dec 2021 00:47:41 +0000 (19:47 -0500)]
tweaks to the next pair of sensor boards
Joey Castillo [Tue, 7 Dec 2021 03:47:38 +0000 (22:47 -0500)]
Merge branch 'main' of github.com:joeycastillo/Sensor-Watch
Joey Castillo [Tue, 7 Dec 2021 03:47:23 +0000 (22:47 -0500)]
add WIP motion board with LIS2DW
Joey Castillo [Mon, 6 Dec 2021 05:49:26 +0000 (23:49 -0600)]
fix missing prototype warnings
Joey Castillo [Mon, 6 Dec 2021 05:06:25 +0000 (23:06 -0600)]
rename project files
Joey Castillo [Mon, 6 Dec 2021 04:56:09 +0000 (22:56 -0600)]
ensure accelerometer test face always stays active
Joey Castillo [Sun, 5 Dec 2021 22:24:17 +0000 (16:24 -0600)]
more accelerometer tests: track interrupts on each axis, log on the quarter hour
Willian Paixao [Sun, 5 Dec 2021 18:35:29 +0000 (19:35 +0100)]
add tinyusb as a git submodule
Willian Paixao [Sun, 5 Dec 2021 18:16:34 +0000 (19:16 +0100)]
remove tinyusb directory
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, 4 Dec 2021 00:42:16 +0000 (19:42 -0500)]
use true random number generator to provide entropy
Joey Castillo [Sat, 4 Dec 2021 00:06:25 +0000 (19:06 -0500)]
movement: remove testing watch face from config
Joey Castillo [Fri, 3 Dec 2021 16:45:40 +0000 (11:45 -0500)]
add rev 05 board with red/green LED
Joey Castillo [Fri, 3 Dec 2021 16:30:36 +0000 (11:30 -0500)]
movement: allow watch faces to request zero ticks
Joey Castillo [Fri, 3 Dec 2021 03:50:47 +0000 (22:50 -0500)]
remove A LOT of dead ASF lcd driver code
Joey Castillo [Thu, 2 Dec 2021 20:11:18 +0000 (15:11 -0500)]
movement: update comment; we store this data now
Joey Castillo [Thu, 2 Dec 2021 20:10:49 +0000 (15:10 -0500)]
movement: add option to always snap back to first watch face
Joey Castillo [Wed, 1 Dec 2021 23:57:03 +0000 (18:57 -0500)]
movement: fix off-by-one error in accelerometer test face