]> git.earman.xyz Git - sensor-watch.git/log
sensor-watch.git
4 years agoMerge pull request #43 from a2/rtc-disable-matching-mask
joeycastillo [Thu, 27 Jan 2022 19:33:45 +0000 (14:33 -0500)]
Merge pull request #43 from a2/rtc-disable-matching-mask

Add new function to disable certain RTC periodic callbacks

4 years agoMerge branch 'main' of github.com:joeycastillo/Sensor-Watch into main
Joey Castillo [Thu, 27 Jan 2022 19:28:46 +0000 (14:28 -0500)]
Merge branch 'main' of github.com:joeycastillo/Sensor-Watch into main

4 years agospi test: set first 4096 bytes to 0
Joey Castillo [Thu, 27 Jan 2022 19:28:37 +0000 (14:28 -0500)]
spi test: set first 4096 bytes to 0

4 years agoAdjust function semantics by "flipping" bit order
Alexsander Akers [Thu, 27 Jan 2022 16:23:27 +0000 (11:23 -0500)]
Adjust function semantics by "flipping" bit order

4 years agoAdd new function to disable certain RTC periodic callbacks
Alexsander Akers [Thu, 27 Jan 2022 16:23:14 +0000 (11:23 -0500)]
Add new function to disable certain RTC periodic callbacks

4 years agoMerge pull request #45 from a2/simulator-buzzer
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

4 years agoyou don't belong here
Joey Castillo [Thu, 27 Jan 2022 16:24:25 +0000 (11:24 -0500)]
you don't belong here

4 years agoUpdate main loop to fix reentrancy runtime errors
Alexsander Akers [Thu, 27 Jan 2022 01:24:15 +0000 (20:24 -0500)]
Update main loop to fix reentrancy runtime errors

4 years agoImplement buzzer methods with AudioContext API
Alexsander Akers [Thu, 27 Jan 2022 16:12:01 +0000 (11:12 -0500)]
Implement buzzer methods with AudioContext API

4 years agoadd SPI to the index
Joey Castillo [Thu, 27 Jan 2022 15:51:15 +0000 (10:51 -0500)]
add SPI to the index

4 years agofix doxygen generation
Joey Castillo [Thu, 27 Jan 2022 15:46:53 +0000 (10:46 -0500)]
fix doxygen generation

4 years agofix spi test (again)
Joey Castillo [Thu, 27 Jan 2022 15:45:01 +0000 (10:45 -0500)]
fix spi test (again)

4 years agofix spi test
Joey Castillo [Thu, 27 Jan 2022 14:17:58 +0000 (09:17 -0500)]
fix spi test

4 years agoimplement SPI flash chip
Joey Castillo [Thu, 27 Jan 2022 03:39:09 +0000 (22:39 -0500)]
implement SPI flash chip

4 years agosilence compiler warning
Joey Castillo [Thu, 27 Jan 2022 03:15:53 +0000 (22:15 -0500)]
silence compiler warning

4 years agowatch library: implement SPI
Joey Castillo [Thu, 27 Jan 2022 02:32:55 +0000 (21:32 -0500)]
watch library: implement SPI

4 years agosilence compiler warning
Joey Castillo [Thu, 27 Jan 2022 02:04:56 +0000 (21:04 -0500)]
silence compiler warning

4 years agoMerge branch 'main' of github.com:joeycastillo/Sensor-Watch into main
Joey Castillo [Thu, 27 Jan 2022 01:36:49 +0000 (20:36 -0500)]
Merge branch 'main' of github.com:joeycastillo/Sensor-Watch into main

4 years agoPCB: add final temperature sensor board
Joey Castillo [Thu, 27 Jan 2022 01:36:40 +0000 (20:36 -0500)]
PCB: add final temperature sensor board

4 years agowatch face script: autopopulate year
Joey Castillo [Thu, 27 Jan 2022 01:31:04 +0000 (20:31 -0500)]
watch face script: autopopulate year

4 years agoMerge pull request #47 from davidskeck/main
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

4 years agosilence compiler warnings
Joey Castillo [Thu, 27 Jan 2022 01:16:52 +0000 (20:16 -0500)]
silence compiler warnings

4 years agowatch library: implement UART
Joey Castillo [Thu, 27 Jan 2022 00:31:49 +0000 (19:31 -0500)]
watch library: implement UART

4 years agominor typo fix
David Keck [Thu, 27 Jan 2022 00:15:16 +0000 (19:15 -0500)]
minor typo fix

4 years agoadded missing newlines to template files
David Keck [Thu, 27 Jan 2022 00:12:12 +0000 (19:12 -0500)]
added missing newlines to template files

4 years agoAdded license info to script
David Keck [Thu, 27 Jan 2022 00:07:51 +0000 (19:07 -0500)]
Added license info to script

4 years agoAdded rough draft of watch_face script to generate custom watch faces from template...
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.

4 years agoMerge pull request #46 from a2/simulator-workflow
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

4 years agoRemove dangling `if` condition
Alexsander Akers [Tue, 25 Jan 2022 23:17:51 +0000 (18:17 -0500)]
Remove dangling `if` condition

4 years agoDon't compile starter-project or accelerometer-test
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.

4 years agoAdd GitHub Workflow job to build and archive simulator
Alexsander Akers [Tue, 25 Jan 2022 23:09:56 +0000 (18:09 -0500)]
Add GitHub Workflow job to build and archive simulator

4 years agoMerge pull request #44 from a2/voltage-reference
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

4 years agomovement: add documentation mentioned in #42
Joey Castillo [Tue, 25 Jan 2022 22:36:04 +0000 (17:36 -0500)]
movement: add documentation mentioned in #42

4 years agomovement: add blinky face
Joey Castillo [Tue, 25 Jan 2022 22:28:22 +0000 (17:28 -0500)]
movement: add blinky face

4 years agoRemove ADC_* defines in favor of hardware-specific mapping
Alexsander Akers [Tue, 25 Jan 2022 00:06:54 +0000 (19:06 -0500)]
Remove ADC_* defines in favor of hardware-specific mapping

4 years agomovement: remove blinky face
Joey Castillo [Tue, 25 Jan 2022 22:27:40 +0000 (17:27 -0500)]
movement: remove blinky face

4 years agomovement: add template for watch face generator
Joey Castillo [Tue, 25 Jan 2022 22:12:56 +0000 (17:12 -0500)]
movement: add template for watch face generator

4 years agomovement: move watch face includes to a separate file
Joey Castillo [Tue, 25 Jan 2022 22:06:04 +0000 (17:06 -0500)]
movement: move watch face includes to a separate file

4 years agomovement: slight reorganization
Joey Castillo [Tue, 25 Jan 2022 22:04:07 +0000 (17:04 -0500)]
movement: slight reorganization

4 years agomovement: add two faces to default build
Joey Castillo [Tue, 25 Jan 2022 20:53:18 +0000 (15:53 -0500)]
movement: add two faces to default build

4 years agomovement: move beat time to clock folder
Joey Castillo [Tue, 25 Jan 2022 20:39:04 +0000 (15:39 -0500)]
movement: move beat time to clock folder

4 years agoSensor Watch Simulator (#35)
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

4 years agomovement: add blinky face
Joey Castillo [Sun, 23 Jan 2022 18:02:18 +0000 (13:02 -0500)]
movement: add blinky face

4 years agomovement: didn't mean to add sunrise/sunset by default
Joey Castillo [Fri, 21 Jan 2022 17:06:06 +0000 (12:06 -0500)]
movement: didn't mean to add sunrise/sunset by default

4 years agomovement: simple UI for entering wearer location
Joey Castillo [Fri, 21 Jan 2022 16:25:43 +0000 (11:25 -0500)]
movement: simple UI for entering wearer location

4 years agomovement: add time zone conversion in sunrise/sunset face
Joey Castillo [Fri, 21 Jan 2022 05:11:28 +0000 (00:11 -0500)]
movement: add time zone conversion in sunrise/sunset face

4 years agofix out of bounds access when position != 0
Joey Castillo [Wed, 19 Jan 2022 22:22:31 +0000 (17:22 -0500)]
fix out of bounds access when position != 0

4 years agoaccelerometer test face: hacks
Joey Castillo [Wed, 19 Jan 2022 22:20:17 +0000 (17:20 -0500)]
accelerometer test face: hacks

4 years agomovement: long press on MODE always dismisses the active face
Joey Castillo [Wed, 19 Jan 2022 19:32:33 +0000 (14:32 -0500)]
movement: long press on MODE always dismisses the active face

4 years agoMerge pull request #38 from davidskeck/patch-2
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

4 years agoMerge pull request #39 from davidskeck/patch-3
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

4 years agoReset 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.

4 years agoSimple Clock: Update to signal exactly on the hour
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.

4 years agomovement: reset tick to 1 Hz between watch faces (fixes #36)
Joey Castillo [Wed, 19 Jan 2022 16:16:10 +0000 (11:16 -0500)]
movement: reset tick to 1 Hz between watch faces (fixes #36)

4 years agoadd movement to the workflow
joeycastillo [Wed, 19 Jan 2022 14:23:21 +0000 (09:23 -0500)]
add movement to the workflow

4 years agoMerge pull request #37 from davidskeck/patch-2
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

4 years agoChanged reset mode to setting instead of waiting
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.

4 years agoAdded ability to reset to default timer value
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.

4 years agomovement: sunrise/sunset face documentation
Joey Castillo [Sun, 16 Jan 2022 14:39:18 +0000 (09:39 -0500)]
movement: sunrise/sunset face documentation

4 years agosunrise/sunset face: no need to update this every second
Joey Castillo [Sun, 16 Jan 2022 00:35:47 +0000 (19:35 -0500)]
sunrise/sunset face: no need to update this every second

4 years agoMerge branch 'main' of github.com:joeycastillo/Sensor-Watch into main
Joey Castillo [Sun, 16 Jan 2022 00:27:24 +0000 (19:27 -0500)]
Merge branch 'main' of github.com:joeycastillo/Sensor-Watch into main

4 years agomovement: add sunrise/sunset face
Joey Castillo [Sun, 16 Jan 2022 00:21:39 +0000 (19:21 -0500)]
movement: add sunrise/sunset face

4 years agoMerge pull request #29 from tahnok/countdown
joeycastillo [Sun, 16 Jan 2022 00:01:06 +0000 (19:01 -0500)]
Merge pull request #29 from tahnok/countdown

Countdown

4 years agoAdd Countdown Face
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

4 years agoadd MIT license text to movement files
Joey Castillo [Sat, 15 Jan 2022 19:53:42 +0000 (14:53 -0500)]
add MIT license text to movement files

4 years agoadd gettimeofday function
Joey Castillo [Sat, 15 Jan 2022 17:22:42 +0000 (12:22 -0500)]
add gettimeofday function

4 years agomotion board express
Joey Castillo [Tue, 11 Jan 2022 00:12:13 +0000 (19:12 -0500)]
motion board express

4 years agoMerge branch 'main' of github.com:joeycastillo/Sensor-Watch into main
Joey Castillo [Sun, 9 Jan 2022 20:26:58 +0000 (15:26 -0500)]
Merge branch 'main' of github.com:joeycastillo/Sensor-Watch into main

4 years agoaccelerometer test: stream data to UART
Joey Castillo [Sun, 9 Jan 2022 20:26:45 +0000 (15:26 -0500)]
accelerometer test: stream data to UART

4 years agolis2dw: add low power / low noise mode
Joey Castillo [Sun, 9 Jan 2022 17:25:56 +0000 (12:25 -0500)]
lis2dw: add low power / low noise mode

4 years agoset correct registers for range and rate
Joey Castillo [Sun, 9 Jan 2022 17:12:41 +0000 (12:12 -0500)]
set correct registers for range and rate

4 years agouse lowest power LP mode
Joey Castillo [Sun, 9 Jan 2022 17:06:44 +0000 (12:06 -0500)]
use lowest power LP mode

4 years agoshuffle uart pins for new accelerometer board
Joey Castillo [Sun, 9 Jan 2022 17:05:21 +0000 (12:05 -0500)]
shuffle uart pins for new accelerometer board

4 years agostart in low power mode
Joey Castillo [Sun, 9 Jan 2022 17:02:58 +0000 (12:02 -0500)]
start in low power mode

4 years agoremove unused enums
Joey Castillo [Sun, 9 Jan 2022 17:02:26 +0000 (12:02 -0500)]
remove unused enums

4 years agofix filename capitalization
joeycastillo [Sun, 9 Jan 2022 01:30:02 +0000 (20:30 -0500)]
fix filename capitalization

4 years agoadd driver, test app for LIS2DW accelerometer
Joey Castillo [Sun, 9 Jan 2022 00:27:41 +0000 (19:27 -0500)]
add driver, test app for LIS2DW accelerometer

4 years agoMerge branch 'main' of github.com:joeycastillo/Sensor-Watch into main
Joey Castillo [Thu, 6 Jan 2022 23:19:41 +0000 (18:19 -0500)]
Merge branch 'main' of github.com:joeycastillo/Sensor-Watch into main

4 years agonew simulated screens
Joey Castillo [Thu, 6 Jan 2022 23:19:29 +0000 (18:19 -0500)]
new simulated screens

4 years agoadd testing app
Joey Castillo [Thu, 6 Jan 2022 19:58:39 +0000 (14:58 -0500)]
add testing app

4 years agoMerge branch 'main' of https://github.com/joeycastillo/Sensor-Watch into main
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

4 years agonew temperature board rev (+20 mils to flex connector)
Joey Castillo [Tue, 4 Jan 2022 20:38:35 +0000 (15:38 -0500)]
new temperature board rev (+20 mils to flex connector)

4 years agoAdd movement_cancel_background_task
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

4 years agorearrange hello face, documentation reasons
Joey Castillo [Wed, 22 Dec 2021 16:02:48 +0000 (10:02 -0600)]
rearrange hello face, documentation reasons

4 years agoadd comments to 'hello there' face
Joey Castillo [Tue, 21 Dec 2021 18:58:05 +0000 (12:58 -0600)]
add comments to 'hello there' face

4 years agoadd 'hello there' face, demo for documentation
Joey Castillo [Tue, 21 Dec 2021 18:30:20 +0000 (12:30 -0600)]
add 'hello there' face, demo for documentation

4 years agoMerge branch 'main' of github.com:joeycastillo/Sensor-Watch into main
Joey Castillo [Tue, 21 Dec 2021 16:05:40 +0000 (10:05 -0600)]
Merge branch 'main' of github.com:joeycastillo/Sensor-Watch into main

4 years agomovement: add hourly signal to simple clock face
Joey Castillo [Tue, 21 Dec 2021 16:05:06 +0000 (10:05 -0600)]
movement: add hourly signal to simple clock face

4 years agoadd utility function to check if TCC is enabled
Joey Castillo [Tue, 21 Dec 2021 16:01:33 +0000 (10:01 -0600)]
add utility function to check if TCC is enabled

4 years agoadd documentation for watch face index
Joey Castillo [Tue, 21 Dec 2021 01:51:57 +0000 (19:51 -0600)]
add documentation for watch face index

4 years agoMovement: give watch faces their index at setup time
Joey Castillo [Mon, 20 Dec 2021 23:02:17 +0000 (17:02 -0600)]
Movement: give watch faces their index at setup time

4 years agoMovement: allow scheduling precisely timed background tasks (resolves #28)
Joey Castillo [Mon, 20 Dec 2021 18:35:37 +0000 (12:35 -0600)]
Movement: allow scheduling precisely timed background tasks (resolves #28)

4 years agotrigger pages workflow only on push to main
joeycastillo [Tue, 14 Dec 2021 18:07:13 +0000 (12:07 -0600)]
trigger pages workflow only on push to main

4 years agoMerge pull request #24 from willianpaixao/add-github-actions
joeycastillo [Tue, 14 Dec 2021 17:06:29 +0000 (11:06 -0600)]
Merge pull request #24 from willianpaixao/add-github-actions

introduce github actions

4 years agoremove notes from rev 5 PCB
Joey Castillo [Tue, 14 Dec 2021 16:58:17 +0000 (10:58 -0600)]
remove notes from rev 5 PCB

4 years agoadd github pages pipeline
Willian Paixao [Sat, 11 Dec 2021 20:29:27 +0000 (21:29 +0100)]
add github pages pipeline

4 years agoMerge remote-tracking branch 'origin/add-github-actions' into add-github-actions
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

4 years agoupdate makefile and pipeline workflow
Willian Paixao [Sat, 11 Dec 2021 19:33:58 +0000 (20:33 +0100)]
update makefile and pipeline workflow

4 years agoupdate gitgnore
Willian Paixao [Sun, 5 Dec 2021 17:37:44 +0000 (18:37 +0100)]
update gitgnore

4 years agointroduce github actions
Willian Paixao [Sun, 5 Dec 2021 12:58:44 +0000 (13:58 +0100)]
introduce github actions