]>
git.earman.xyz Git - sensor-watch.git/log
James Haggerty [Tue, 10 Jan 2023 21:15:00 +0000 (08:15 +1100)]
RPN Calculator face (#112)
* Calculator face with guess a number
* Add more functions, cleanup, and blinking
* Display operations better in the first location
* Clean up stack behaviour
Add empty stack behaviour, check stack bounds, add stack operations.
Also, make 'mode' always work to switch through faces on entering calculator
(i.e. by defaulting to OPERATION rather than NUMBER).
Some edge cases.
* Tweak negative rounding behaviour; add basic doco
* Add copyright name.
* Flip ordering of binary operations
* Fix compiler warnings
* Remove watch_private_display hackery and give face a better name
Also, slightly clearer documentation and a dupe function.
joeycastillo [Tue, 10 Jan 2023 21:14:20 +0000 (16:14 -0500)]
Merge pull request #119 from neutralinsomniac/add_hours_to_countdown_face
Add hours support to the countdown face
joeycastillo [Tue, 10 Jan 2023 21:12:15 +0000 (16:12 -0500)]
show colon after hours in countdown face
Wesley Ellis [Sun, 8 Jan 2023 17:53:16 +0000 (12:53 -0500)]
Merge pull request #159 from neutralinsomniac/remove-unnecessary-conditional
remove unnecessary conditional in simple clock face
Jeremy O'Brien [Thu, 5 Jan 2023 11:50:29 +0000 (06:50 -0500)]
remove unnecessary conditional in simple clock face
joeycastillo [Wed, 4 Jan 2023 15:03:23 +0000 (09:03 -0600)]
Merge pull request #158 from neutralinsomniac/fix-sailing-face-compiler-warnings
fix compiler warnings in sailing face
Jeremy O'Brien [Wed, 4 Jan 2023 14:47:26 +0000 (09:47 -0500)]
fix compiler warnings in sailing face
joeycastillo [Wed, 4 Jan 2023 03:24:14 +0000 (21:24 -0600)]
never disable buzzer output
joeycastillo [Sat, 31 Dec 2022 17:04:55 +0000 (11:04 -0600)]
Merge pull request #106 from niclashoyer/sailing
Add sailing watch face
joeycastillo [Wed, 14 Dec 2022 17:08:30 +0000 (11:08 -0600)]
Merge pull request #126 from ShogoOkamoto/main
append beep sound to counter_face
joeycastillo [Wed, 14 Dec 2022 15:40:22 +0000 (09:40 -0600)]
Merge pull request #149 from slim/main
Week number watch face
joeycastillo [Tue, 6 Dec 2022 05:18:26 +0000 (23:18 -0600)]
Merge pull request #144 from kyleboyle/skin
Adds simulator watch skin toggle for model A158WEA-9
Slim [Fri, 2 Dec 2022 18:53:56 +0000 (19:53 +0100)]
Merge branch 'main' of github.com:joeycastillo/Sensor-Watch into main
Slim [Fri, 2 Dec 2022 18:45:53 +0000 (19:45 +0100)]
Weeknumber watch face
Same as simple clock, but has iso 8601 week number instead of seconds counter
joeycastillo [Tue, 29 Nov 2022 20:51:26 +0000 (14:51 -0600)]
new standard firmware
joeycastillo [Tue, 29 Nov 2022 19:40:03 +0000 (13:40 -0600)]
stopwatch: slow down sleep animation
joeycastillo [Tue, 29 Nov 2022 19:39:14 +0000 (13:39 -0600)]
sunrise/set: return home if no location set
joeycastillo [Tue, 29 Nov 2022 16:01:47 +0000 (10:01 -0600)]
new backer firmware with original lineup
joeycastillo [Mon, 28 Nov 2022 17:44:12 +0000 (11:44 -0600)]
deep space now: use standard time
joeycastillo [Mon, 28 Nov 2022 17:43:51 +0000 (11:43 -0600)]
allow setting default LED colors in movement_config
joeycastillo [Mon, 28 Nov 2022 07:28:02 +0000 (01:28 -0600)]
time set: allow setting year through 2050
joeycastillo [Mon, 28 Nov 2022 06:58:25 +0000 (00:58 -0600)]
keep stopwatch awake while running and on screen
joeycastillo [Mon, 28 Nov 2022 06:40:08 +0000 (00:40 -0600)]
address sunrise/set rounding in last 30 seconds of hour (fixes #146)
joeycastillo [Sun, 27 Nov 2022 23:02:30 +0000 (17:02 -0600)]
fix sunrise/sunset in last 30 seconds of the hour
joeycastillo [Sun, 27 Nov 2022 22:52:25 +0000 (16:52 -0600)]
make stopwatch beep when started/stopped
joeycastillo [Sun, 27 Nov 2022 15:57:25 +0000 (09:57 -0600)]
replace temperature sensor with stopwatch
Kyle Boyle [Thu, 24 Nov 2022 22:37:19 +0000 (18:37 -0400)]
Adds watch skin toggle to for model A158WEA-9 should one be feeling classy
joeycastillo [Tue, 22 Nov 2022 14:48:09 +0000 (08:48 -0600)]
Merge pull request #134 from abhignay/main
Add Sensor board with BMI270 IMU
joeycastillo [Tue, 22 Nov 2022 14:45:53 +0000 (08:45 -0600)]
Merge pull request #138 from darigovresearch/main
docs: Adds License to readme
joeycastillo [Tue, 22 Nov 2022 14:43:12 +0000 (08:43 -0600)]
Merge pull request #141 from TomHodson/fix_simulated_led_color
Add support for bicolor led in the simulator
joeycastillo [Tue, 22 Nov 2022 14:37:33 +0000 (08:37 -0600)]
Merge pull request #118 from wryun/separate-emscripten-build-dir
Separate emscripten build directory
Tom Hodson [Tue, 22 Nov 2022 13:39:46 +0000 (14:39 +0100)]
remove errant console.log
Tom Hodson [Tue, 22 Nov 2022 13:30:24 +0000 (14:30 +0100)]
WIP: Add support for bicolor led in the simulator
I noticed that the bicolor led isn't supported in the simulator. Here is a quick mockup of how I would add support for it.
I added an SVG filter to the #light rectangle in the SVG which lets us multiply the colours by a matrix in code. I then insert values so that the original green colour gets mixed into the combination of red and green requested by `watch_set_led_color`
# Testing
So far I've only tested this with the standard firmware build but it seems to work.
# Possible issues
I wasn't 100% sure what to do when red + green > 255, current behaviour is that it gets clamped to 255 in the simulator.
Darigov Research [Sat, 19 Nov 2022 19:39:04 +0000 (19:39 +0000)]
docs: Adds License to readme
Would resolve https://github.com/joeycastillo/Sensor-Watch/issues/137 if merged
joeycastillo [Tue, 15 Nov 2022 17:05:23 +0000 (11:05 -0600)]
Merge pull request #133 from wryun/set-indicator-on-reactivate
Set bell indicator on reactivating countdown/tomato faces
moonman [Tue, 15 Nov 2022 16:13:29 +0000 (21:43 +0530)]
added new sensor-board with the BMI270 IMU
Added files for a sensor board with the BMI270 IMU, a low-power IMU with pedometer/watch-specific features
James Haggerty [Tue, 15 Nov 2022 09:32:53 +0000 (20:32 +1100)]
Set bell indicator on reactivating countdown/tomato faces
If you moved away and back to these faces, you'd lose the indicator. Not that the indicator here
seems very valuable, since it's not displayed on simple_clock_face, but at least
this makes things more consistent.
Shogo Okamoto [Tue, 8 Nov 2022 13:39:02 +0000 (22:39 +0900)]
append beep sound to counter_face
joeycastillo [Fri, 4 Nov 2022 00:29:31 +0000 (19:29 -0500)]
Merge pull request #120 from TheOnePerson/alarm-face-fix-24h-check
alarm-face: fix occasional crash (while checking for active alarms)
TheOnePerson [Thu, 3 Nov 2022 21:32:20 +0000 (22:32 +0100)]
alarm-face: fix occasional crash on checking for active alarms, fix 0 vs. 12 h in am/pm mode
James Haggerty [Wed, 2 Nov 2022 22:32:58 +0000 (09:32 +1100)]
Add .gitignore for build-sim
Jeremy O'Brien [Wed, 2 Nov 2022 16:22:34 +0000 (12:22 -0400)]
Add hours support to the countdown face
James Haggerty [Tue, 1 Nov 2022 21:28:03 +0000 (08:28 +1100)]
Fix up build.
James Haggerty [Tue, 1 Nov 2022 19:18:23 +0000 (06:18 +1100)]
Separate emscripten build directory
This avoids the need to 'make clean' before you do a simulator build
(or vice-versa).
James Haggerty [Tue, 1 Nov 2022 06:08:05 +0000 (17:08 +1100)]
Make the TOTP face use the filesystem for secret storage (#95)
* TOTP using filesystem
* Filesystem: ability to read files line by line
joeycastillo [Mon, 31 Oct 2022 06:09:13 +0000 (01:09 -0500)]
Merge pull request #114 from TheOnePerson/alarm-face-indicator-24h
Alarm face: make active alarm indicator show up only when there is an alarm set within the next 24 h
joeycastillo [Mon, 31 Oct 2022 06:06:08 +0000 (01:06 -0500)]
Merge pull request #115 from neutralinsomniac/use_movement_play_alarm_in_countdown_face
Make countdown face use movement_play_alarm() instead of movement_play_signal()
Jeremy O'Brien [Mon, 31 Oct 2022 00:35:43 +0000 (20:35 -0400)]
Make countdown face use movement_play_alarm() instead of movement_play_signal()
TheOnePerson [Sun, 30 Oct 2022 08:32:20 +0000 (09:32 +0100)]
alarm-face: make indicator show active alarms in 24h time range and implement UI tweak
- switch indicators: use signal indicator instead of bell indicator
- make indicator show up only when there is an active alarm in the next 24 h
- Implement "hidden" UI tweak: extra long press of the alarm button in normal mode jumps back to alarm no. 1
- update comments to reflect latest changes
joeycastillo [Sat, 29 Oct 2022 23:16:29 +0000 (18:16 -0500)]
Merge pull request #109 from TheOnePerson/auto-fire-long-press
Make movement auto fire long press event
joeycastillo [Sat, 29 Oct 2022 23:09:16 +0000 (18:09 -0500)]
make pulsometer face use new EVENT_ALARM_LONG_UP
joeycastillo [Sat, 29 Oct 2022 22:49:12 +0000 (17:49 -0500)]
Merge pull request #110 from wryun/fix-makefile-parallelism-linux
Fix Linux Makefile parallelism
James Haggerty [Sat, 29 Oct 2022 22:01:05 +0000 (09:01 +1100)]
Make countdown face reset to 0 (#90)
* Make countdown face reset to 0
It was annoying to have countdowns less than DEFAULT_MINUTES.
Admittedly, this does make DEFAULT_MINUTES fairly useless, since
we only ever see it the first time...
* Undo accidental change to movement_config.h
TheOnePerson [Wed, 26 Oct 2022 04:43:47 +0000 (06:43 +0200)]
Merge branch 'main' into auto-fire-long-press
TheOnePerson [Wed, 26 Oct 2022 02:57:53 +0000 (04:57 +0200)]
Add an Alarm face to movement (#96)
* Add movement_play_alarm_beeps() to movement.c and make alarm sounds customizable. Add alarm indicator to simple watch face.
* Add alarm face
* alarm_face: fix problem with disabling alarms for 00:00.
* Fix typos in comments and get rid of of unused variable warning
* remove unnecessary constant
* simple_clock_face: fix disappearing chime indicator after face switch, enable alarm indicator updates in app loop (for one-time alarms).
movement: handle situations where watch is in sleep mode and chimes fire off at the same time as alarms properly.
* alarm_face: tweak process of displaying things on the lcd. Add extra long and extra short alarms. Increase number of alarm slots to 16.
* alarm face: fix alarms playing one beeping round more than set.
* alarm face: add proper quick cycling of hour and minute setting
* alarm-face: correct am/pm indication and some minor tweaks. Reset movement_config.h to current main branch. simple-watch-face: Remove unnecessary check and swap indicators (alarm / hourly chime)
* alarm-face: reverse commit parts from another branch (accidentially commited logic depending on movement firmware auto firing the long press event)
Co-authored-by: joeycastillo <joeycastillo@utexas.edu>
TheOnePerson [Tue, 25 Oct 2022 19:42:29 +0000 (21:42 +0200)]
movement: update comments regarding button events
TheOnePerson [Tue, 25 Oct 2022 19:28:06 +0000 (21:28 +0200)]
alarm-face: correct am/pm indication and implement some minor tweaks.
James Haggerty [Mon, 24 Oct 2022 22:24:54 +0000 (09:24 +1100)]
Fix Linux Makefile parallelism
Makefile != bourne shell, I think.
At least on my systems, this was causing a raw -j, which meant
that make had no restriction on its parallelism
(i.e. tried to build everything at once).
joeycastillo [Sun, 23 Oct 2022 20:07:35 +0000 (15:07 -0500)]
Merge pull request #103 from wryun/long-press-home-to-settings
Long press of mode on home screen goes to settings
joeycastillo [Sun, 23 Oct 2022 20:05:28 +0000 (15:05 -0500)]
make this an if/then to please emscripten
joeycastillo [Sun, 23 Oct 2022 19:59:03 +0000 (14:59 -0500)]
disable settings hiding by default
TheOnePerson [Sun, 23 Oct 2022 11:08:22 +0000 (13:08 +0200)]
alarm face: adjust quick cycling logic to new movement behavior regarding long press event
TheOnePerson [Sun, 23 Oct 2022 11:07:32 +0000 (13:07 +0200)]
Movement: implement auto firing of long press events and introduce long up event. (Also re-implement alarm_enabled and alarm_note)
Niclas Hoyer [Thu, 20 Oct 2022 23:22:30 +0000 (01:22 +0200)]
add sailing watch face
joeycastillo [Sat, 22 Oct 2022 18:22:46 +0000 (13:22 -0500)]
Merge pull request #105 from niclashoyer/fix_schedule
Fix scheduled tasks scheduling another task
joeycastillo [Sat, 22 Oct 2022 18:16:46 +0000 (13:16 -0500)]
allow watch faces to schedule tasks from background
Niclas Hoyer [Thu, 20 Oct 2022 23:10:12 +0000 (01:10 +0200)]
fix scheduled tasks scheduling another task
David Singleton [Wed, 19 Oct 2022 04:30:05 +0000 (21:30 -0700)]
Adds a rate meter watchface (#101)
James Haggerty [Tue, 18 Oct 2022 23:24:02 +0000 (10:24 +1100)]
Long press of mode on home screen goes to settings
This also changes the default rotation so you don't see the settings
screens.
joeycastillo [Sat, 15 Oct 2022 13:52:34 +0000 (08:52 -0500)]
Merge pull request #94 from wryun/long-press-home-default
Long press mode button to return to first watch face + fix lag when watch face changes
joeycastillo [Wed, 12 Oct 2022 05:20:11 +0000 (00:20 -0500)]
use watch_face_changed property
joeycastillo [Wed, 12 Oct 2022 04:53:02 +0000 (23:53 -0500)]
document return value of watch_face_loop
joeycastillo [Wed, 12 Oct 2022 04:40:19 +0000 (23:40 -0500)]
no need to set this (set in movement_move_to_face)
joeycastillo [Wed, 12 Oct 2022 04:14:59 +0000 (23:14 -0500)]
don't sleep on watch face change
joeycastillo [Wed, 12 Oct 2022 03:14:13 +0000 (22:14 -0500)]
Merge pull request #93 from wryun/make-starter-proj-work-in-simulator
Make starter project work in simulator
joeycastillo [Wed, 12 Oct 2022 03:11:58 +0000 (22:11 -0500)]
add delay_ms function for simulator
joeycastillo [Wed, 12 Oct 2022 03:06:02 +0000 (22:06 -0500)]
only include watch_main_loop.h in simulator builds
James Haggerty [Wed, 12 Oct 2022 02:35:08 +0000 (13:35 +1100)]
Make long press mode go back to face 0 instead of next face
James Haggerty [Wed, 12 Oct 2022 00:59:43 +0000 (11:59 +1100)]
Make starter project work in simulator
Use the higher abstraction level sleeping.
joeycastillo [Wed, 12 Oct 2022 00:47:40 +0000 (19:47 -0500)]
Merge pull request #87 from wryun/readme-movement
Mention movement in the README (and link to website)
James Haggerty [Tue, 11 Oct 2022 10:19:55 +0000 (21:19 +1100)]
Mention movement in the README (and link to website)
I know this is mostly going to be in the website, but I was initially
confused about how to get things going, and it seemed worth
having some simple 'getting started' here.
Joey Castillo [Mon, 10 Oct 2022 03:58:42 +0000 (22:58 -0500)]
implement stubs to make simulator build happy
Joey Castillo [Mon, 10 Oct 2022 03:54:26 +0000 (22:54 -0500)]
restore default watch faces (oops)
Joey Castillo [Mon, 10 Oct 2022 03:50:31 +0000 (22:50 -0500)]
add watch face for frequency correction and measurement
joeycastillo [Sun, 9 Oct 2022 00:56:26 +0000 (19:56 -0500)]
Merge pull request #86 from michaelgruenewald/patch-1
Fix changed files detection in Make
Michael Gruenewald [Sat, 8 Oct 2022 20:23:30 +0000 (22:23 +0200)]
Disable all built-in Make rules
Michael Gruenewald [Fri, 7 Oct 2022 23:19:42 +0000 (01:19 +0200)]
Enable dependency files for the emscripten build
Michael Grünewald [Thu, 6 Oct 2022 21:09:59 +0000 (23:09 +0200)]
Fix DEPFILES
Joey Castillo [Sat, 17 Sep 2022 03:54:36 +0000 (22:54 -0500)]
add script for bulk flashing boards
Wesley Ellis [Sun, 4 Sep 2022 16:56:42 +0000 (12:56 -0400)]
Merge pull request #84 from jackbondpreston/main
add support for multiple TOTP keys
Jack Bond-Preston [Mon, 29 Aug 2022 00:11:02 +0000 (01:11 +0100)]
add support for multiple TOTP keys
Joey Castillo [Sun, 14 Aug 2022 20:23:19 +0000 (15:23 -0500)]
add watch_reset_to_bootloader function (resolves #81)
joeycastillo [Wed, 3 Aug 2022 17:56:52 +0000 (11:56 -0600)]
Merge pull request #80 from joeycastillo/lfs
Movement: add a lil file system with lfs
Joey Castillo [Tue, 2 Aug 2022 14:17:26 +0000 (08:17 -0600)]
Merge branch 'main' of github.com:joeycastillo/Sensor-Watch into lfs
joeycastillo [Mon, 25 Jul 2022 16:06:05 +0000 (12:06 -0400)]
Merge pull request #79 from jackbondpreston/main
movement: fix movement_request_wake() prototype
joshber [Mon, 25 Jul 2022 15:57:12 +0000 (11:57 -0400)]
Wake Face (#77)
Co-authored-by: Josh Berson <low.note0488@fastmail.com>
Jack Bond-Preston [Mon, 25 Jul 2022 14:17:02 +0000 (15:17 +0100)]
movement: fix movement_request_wake() prototype
This function has `void` args, currently it can throw a compiler warning
Joey Castillo [Sun, 17 Jul 2022 05:22:03 +0000 (00:22 -0500)]
movement: wake programmatically from background and play alarm
joeycastillo [Fri, 15 Jul 2022 02:34:53 +0000 (21:34 -0500)]
Merge pull request #78 from tahnok/fix-python3-uf2
Replace python with python3 for calling uf2conv
Wesley Ellis [Thu, 14 Jul 2022 18:42:32 +0000 (14:42 -0400)]
Replace python with python3 for calling uf2conv
Instead of calling python use python3.
On a default debian 11 install there is no python binary, only python3.
Given that the uf2conv script is written for python 3 I think this is a
safe change to make