]> git.earman.xyz Git - sensor-watch.git/log
sensor-watch.git
3 years agoFix cat command
James Haggerty [Sun, 12 Feb 2023 09:27:48 +0000 (20:27 +1100)]
Fix cat command

If we ran into a heap that wasn't filled with '\0', fun things.

3 years agoSensor watch sailing face (#205)
Hein-NonesensE [Sat, 11 Feb 2023 00:07:53 +0000 (01:07 +0100)]
Sensor watch sailing face (#205)

* Update sailing_face.c

Modified sailing_face.

Added features, some of which @niclashoyer already suggested in his initial PR:
- stopwatch-like counter after start signal
- lap counter after start signal
- optional additional sounds at every minute, 30s, 10s countdown
- sound options (no sound, start only, signals only, all)
- maximum starting time up to 10min (instead of 9)
- improved timing, display is no longer delayed by sound

* Update sailing_face.h

Modified sailing_face.

Added features, some of which @niclashoyer already suggested in his initial PR:
- stopwatch-like counter after start signal
- lap counter after start signal
- optional additional sounds at every minute, 30s, 10s countdown
- sound options (no sound, start only, signals only, all)
- maximum starting time up to 10min (instead of 9)
- improved timing, display is no longer delayed by sound

3 years agoAllow days in the future
kingannoy [Wed, 1 Feb 2023 23:28:29 +0000 (00:28 +0100)]
Allow days in the future

With this small change you can also count down to a important upcoming event!

This is my first time coding in C, so please double check everything! But in the emulator this seemed to work!

3 years agowhat fresh hell was that?
joeycastillo [Fri, 10 Feb 2023 22:44:36 +0000 (16:44 -0600)]
what fresh hell was that?

3 years agocountdown_face: implement holding light to reset the currently edited timer value...
Jeremy O'Brien [Thu, 26 Jan 2023 14:56:37 +0000 (09:56 -0500)]
countdown_face: implement holding light to reset the currently edited timer value (and everything below it)

3 years agohabit face
tslil clingman [Sat, 28 Jan 2023 10:52:27 +0000 (11:52 +0100)]
habit face

Track a single habit, occuring at most once per day, with an eight-day
look back and total count

3 years agoAdded option to use_iso_8601_weeknumber
Ronny Lam [Fri, 27 Jan 2023 21:41:33 +0000 (22:41 +0100)]
Added option to use_iso_8601_weeknumber

3 years agomake TOTP face more responsive when swapping between codes
joeycastillo [Wed, 8 Feb 2023 17:30:15 +0000 (11:30 -0600)]
make TOTP face more responsive when swapping between codes

3 years agorestore old light button behavior
Jeremy O'Brien [Thu, 26 Jan 2023 15:44:11 +0000 (10:44 -0500)]
restore old light button behavior

watch faces that handle EVENT_LIGHT_BUTTON_UP but not EVENT_LIGHT_BUTTON_DOWN
probably don't want the default EVENT_LIGHT_BUTTON_DOWN LED activation behavior

3 years agofix for events firing way too fast
joeycastillo [Fri, 27 Jan 2023 06:08:36 +0000 (00:08 -0600)]
fix for events firing way too fast

3 years agoadd hardcoded frequency correction values
joeycastillo [Wed, 25 Jan 2023 16:37:16 +0000 (10:37 -0600)]
add hardcoded frequency correction values

3 years agorename definition for special edition boards
joeycastillo [Wed, 25 Jan 2023 16:32:35 +0000 (10:32 -0600)]
rename definition for special edition boards

3 years agotarot_face: use direct character arrays instead of arrays of pointers to global strings
Jeremy O'Brien [Mon, 23 Jan 2023 22:21:45 +0000 (17:21 -0500)]
tarot_face: use direct character arrays instead of arrays of pointers to global strings

3 years agoMerge pull request #180 from joeycastillo/default-handler
joeycastillo [Wed, 25 Jan 2023 16:24:33 +0000 (10:24 -0600)]
Merge pull request #180 from joeycastillo/default-handler

Restore long press on MODE to return to first watch face by adding a handler for unhandled events

3 years agoMerge branch 'main' into default-handler
joeycastillo [Wed, 25 Jan 2023 15:26:31 +0000 (09:26 -0600)]
Merge branch 'main' into default-handler

3 years agoadd default loop handler to all current watch faces
Jeremy O'Brien [Wed, 25 Jan 2023 03:43:31 +0000 (22:43 -0500)]
add default loop handler to all current watch faces

3 years agoships_face: fix compiler warnings (#186)
Jeremy O'Brien [Mon, 23 Jan 2023 21:26:47 +0000 (16:26 -0500)]
ships_face: fix compiler warnings (#186)

3 years agofix fast_tick_enabled behavior in movement (#183)
TheOnePerson [Mon, 23 Jan 2023 21:26:03 +0000 (22:26 +0100)]
fix fast_tick_enabled behavior in movement (#183)

3 years agoMinor enhancements for the countdown face (#177)
Konrad Rieck [Mon, 23 Jan 2023 20:18:28 +0000 (21:18 +0100)]
Minor enhancements for the countdown face (#177)

* minor enhancements for the countdown face

* Changed usage of countdown timer.

- Long button presses have been removed.

- The light button is used to restore the last countdown as well as enter setting mode when pressed again.

- The visual state has been removed from the display.

- The internal states have been renamed to reflect the new logic.

* restore time when countdown finished.

* support for fast forward on long press (untested).

* support for beeps similar to stop watch

* fixed bug wiht display when fast forwarding

3 years agotarot: avoid mandatory function call on every tick (#185)
Jeremy O'Brien [Mon, 23 Jan 2023 20:15:57 +0000 (15:15 -0500)]
tarot: avoid mandatory function call on every tick (#185)

3 years agoAdd ships_bell_face (#182)
buckket [Mon, 23 Jan 2023 20:15:19 +0000 (21:15 +0100)]
Add ships_bell_face (#182)

3 years agoMorse-code based RPN calculator (#164)
Christian Chapman [Sat, 21 Jan 2023 01:15:28 +0000 (20:15 -0500)]
Morse-code based RPN calculator (#164)

* Added Morse code based RPN calculator

* added manual and memory register

* fixed morsecalc negative indicator, edited header comment

* adjusted stack display controls

* Fixed warnings. Added calculator token aliasing ability. Added binary shorthand for numeral entry. Extended morse code binary tree.

* ui tweaks

* Update movement_config.h

* silence warning

Co-authored-by: Christian Chapman <user@debian>
Co-authored-by: joeycastillo <joeycastillo@utexas.edu>
3 years agoMerge pull request #184 from TheOnePerson/alarm-fix-bell-indicator-on-fridays
joeycastillo [Fri, 20 Jan 2023 21:03:54 +0000 (15:03 -0600)]
Merge pull request #184 from TheOnePerson/alarm-fix-bell-indicator-on-fridays

alarm face: fix bell indicator not showing up on fridays

3 years agoalarm: fix bell indicator not showing up on fridays
TheOnePerson [Fri, 20 Jan 2023 20:54:00 +0000 (21:54 +0100)]
alarm: fix bell indicator not showing up on fridays

3 years agotypo
joeycastillo [Tue, 17 Jan 2023 17:05:27 +0000 (11:05 -0600)]
typo

3 years agoclarify return value notes in template
joeycastillo [Tue, 17 Jan 2023 17:02:56 +0000 (11:02 -0600)]
clarify return value notes in template

3 years agoMerge branch 'main' into default-handler
joeycastillo [Tue, 17 Jan 2023 16:52:42 +0000 (10:52 -0600)]
Merge branch 'main' into default-handler

3 years agoRevert "never disable buzzer output"
joeycastillo [Tue, 17 Jan 2023 14:52:01 +0000 (08:52 -0600)]
Revert "never disable buzzer output"

This reverts commit 851d047c818dacc30c86f4d87f33247dcfb0095c.

3 years agofix documentation of default loop handler in template
joeycastillo [Sun, 15 Jan 2023 15:31:12 +0000 (09:31 -0600)]
fix documentation of default loop handler in template

3 years agohandle switch to secondary face in default handler
joeycastillo [Sun, 15 Jan 2023 15:28:41 +0000 (09:28 -0600)]
handle switch to secondary face in default handler

3 years agoMerge pull request #179 from neutralinsomniac/rpn_calculator_fix_compiler_warnings
joeycastillo [Sat, 14 Jan 2023 21:52:15 +0000 (16:52 -0500)]
Merge pull request #179 from neutralinsomniac/rpn_calculator_fix_compiler_warnings

rpn_calculator: fix compiler warnings

3 years agoadd movement_default_loop_handler, test with default watch faces
joeycastillo [Sat, 14 Jan 2023 19:21:04 +0000 (14:21 -0500)]
add movement_default_loop_handler, test with default watch faces

3 years agorpn_calculator: fix compiler warnings
Jeremy O'Brien [Sat, 14 Jan 2023 18:20:38 +0000 (13:20 -0500)]
rpn_calculator: fix compiler warnings

3 years agototp : rework and add SHA256/512 (#151)
EmilienCourt [Sat, 14 Jan 2023 16:58:03 +0000 (17:58 +0100)]
totp : rework and add SHA256/512 (#151)

* totp : rework and add SHA256/512

* totp : comment code

* totp : fix SHA224/SHA384 and examples

* totp : fix bug in totp_face_lfs

* totp : init_totp_record to SHA1

* totp : move TOTP-MCU to TOTP, update README and example

* totp : SHAX, use size_t n instead of harcoded 8

* clarify what to put in TOTP face

Co-authored-by: Emilien <Emilien>
Co-authored-by: joeycastillo <joeycastillo@utexas.edu>
3 years agoAdd calculator watch face (#111)
Niclas Hoyer [Sat, 14 Jan 2023 16:51:33 +0000 (17:51 +0100)]
Add calculator watch face (#111)

3 years agoMerge pull request #175 from neutralinsomniac/tarot-add-minor-arcana
joeycastillo [Sat, 14 Jan 2023 16:49:23 +0000 (11:49 -0500)]
Merge pull request #175 from neutralinsomniac/tarot-add-minor-arcana

tarot: add full tarot deck as an option

3 years agoMerge pull request #176 from neutralinsomniac/alarm-fix-conditional
Wesley Ellis [Fri, 13 Jan 2023 20:33:16 +0000 (15:33 -0500)]
Merge pull request #176 from neutralinsomniac/alarm-fix-conditional

alarm: fix accidental assignment vs conditional logic

3 years agoalarm: fix accidental assignment vs conditional logic
Jeremy O'Brien [Fri, 13 Jan 2023 19:52:09 +0000 (14:52 -0500)]
alarm: fix accidental assignment vs conditional logic

3 years agotarot: mode long press returns to face 0
Jeremy O'Brien [Fri, 13 Jan 2023 15:26:11 +0000 (10:26 -0500)]
tarot: mode long press returns to face 0

3 years agotarot: reduce calls to watch_display_string()
Jeremy O'Brien [Fri, 13 Jan 2023 13:06:29 +0000 (08:06 -0500)]
tarot: reduce calls to watch_display_string()

3 years agotarot: add full tarot deck as an option
Jeremy O'Brien [Fri, 13 Jan 2023 02:49:04 +0000 (21:49 -0500)]
tarot: add full tarot deck as an option

3 years agoMerge pull request #174 from neutralinsomniac/tarot-fix-compiler-warning
joeycastillo [Thu, 12 Jan 2023 14:21:22 +0000 (09:21 -0500)]
Merge pull request #174 from neutralinsomniac/tarot-fix-compiler-warning

tarot: fix compiler warning

3 years agotarot: fix compiler warning
Jeremy O'Brien [Thu, 12 Jan 2023 13:34:40 +0000 (08:34 -0500)]
tarot: fix compiler warning

3 years agoMerge pull request #172 from neutralinsomniac/add-tarot-face-inversion-note
joeycastillo [Thu, 12 Jan 2023 02:09:48 +0000 (21:09 -0500)]
Merge pull request #172 from neutralinsomniac/add-tarot-face-inversion-note

tarot: add card inversion explanation

3 years agotarot: add card inversion explanation
Jeremy O'Brien [Wed, 11 Jan 2023 23:36:13 +0000 (18:36 -0500)]
tarot: add card inversion explanation

3 years agoMerge pull request #171 from neutralinsomniac/document_tarot_face
joeycastillo [Wed, 11 Jan 2023 21:25:57 +0000 (16:25 -0500)]
Merge pull request #171 from neutralinsomniac/document_tarot_face

add tarot face documentation as per the new template.h

3 years agoInterval timers face (#130)
TheOnePerson [Wed, 11 Jan 2023 20:31:53 +0000 (21:31 +0100)]
Interval timers face (#130)

* buzzer sequences: first draft, does not work on hardware yet (but in simulator)

* buzzer sequences: add changes to movement.c

* buzzer sequences: add demo face to Makefile

* buzzer sequences: fix problem of interrupted sounds. Add logic for repeating sub sequences. Tidy up (move logic to watch_buzzer files, remove buzzer_demo_face)

* buzzer sequences: tidy up even more

* buzzer sequences: disable registering a 32 Hz tick callback for watch faces, so it will be used exclusively by the buzzer sequences functionality

* buzzer sequences: add callback slot functionality to watch_rtc and make watch_buzzer use it. Switch internal buzzer sequences tick frequency to 64 Hz. Revert changes to movement.c

* interval face: add initial version

* interval face: fix theoretical problem in helper function

* buzzer sequences: fix parameter sanity check in watch_rtc code

* buzzer sequences/watch_rtc: optimize calling tick callbacks in RTC_Handler

* buzzer sequences/watch_rtc: fix error in calling callback functions

* buzzer sequences: revert changes to watch_rtc logic. Instead, use TC3 as the source for timing the sound sequences.

* buzzer sequences: fix frequency of callback

* buzzer sequences: integrate changes from PR #162 (set both CCBUF and PERFBUF for correct buzzer tone)

Co-authored-by: joeycastillo <joeycastillo@utexas.edu>
3 years agoPlay sound sequences asynchronously (#122)
TheOnePerson [Wed, 11 Jan 2023 20:26:33 +0000 (21:26 +0100)]
Play sound sequences asynchronously (#122)

* buzzer sequences: first draft, does not work on hardware yet (but in simulator)

* buzzer sequences: add changes to movement.c

* buzzer sequences: add demo face to Makefile

* buzzer sequences: fix problem of interrupted sounds. Add logic for repeating sub sequences. Tidy up (move logic to watch_buzzer files, remove buzzer_demo_face)

* buzzer sequences: tidy up even more

* buzzer sequences: disable registering a 32 Hz tick callback for watch faces, so it will be used exclusively by the buzzer sequences functionality

* buzzer sequences: add callback slot functionality to watch_rtc and make watch_buzzer use it. Switch internal buzzer sequences tick frequency to 64 Hz. Revert changes to movement.c

* buzzer sequences: fix parameter sanity check in watch_rtc code

* buzzer sequences/watch_rtc: optimize calling tick callbacks in RTC_Handler

* buzzer sequences/watch_rtc: fix error in calling callback functions

* buzzer sequences: revert changes to watch_rtc logic. Instead, use TC3 as the source for timing the sound sequences.

* buzzer sequences: fix frequency of callback

* buzzer sequences: integrate changes from PR #162 (set both CCBUF and PERFBUF for correct buzzer tone)

3 years agoAdd quick counting through hours, minutes, etc. to set time face. (#131)
TheOnePerson [Wed, 11 Jan 2023 20:05:43 +0000 (21:05 +0100)]
Add quick counting through hours, minutes, etc. to set time face. (#131)

* set time face: add quick cycling through hours, minutes, etc. and handle February 29th properly

* set time face: add failsafe for "hanging" quick cycle mode

* set time face: get rid of compiler warning

* set time face: Fix typo and indentation errors

3 years agoadd tarot face documentation as per the new template.h
Jeremy O'Brien [Wed, 11 Jan 2023 19:54:52 +0000 (14:54 -0500)]
add tarot face documentation as per the new template.h

3 years agoMerge pull request #169 from neutralinsomniac/tarot-face
joeycastillo [Wed, 11 Jan 2023 19:25:37 +0000 (14:25 -0500)]
Merge pull request #169 from neutralinsomniac/tarot-face

Implement tarot card face

3 years agorevert tweak to 'world' card
joeycastillo [Wed, 11 Jan 2023 18:45:11 +0000 (13:45 -0500)]
revert tweak to 'world' card

3 years agotarot: move comment to where it belongs
Jeremy O'Brien [Wed, 11 Jan 2023 18:33:51 +0000 (13:33 -0500)]
tarot: move comment to where it belongs

3 years agoImplement card flipping and arbitrary # of card draws up to 10
Jeremy O'Brien [Wed, 11 Jan 2023 16:39:54 +0000 (11:39 -0500)]
Implement card flipping and arbitrary # of card draws up to 10

3 years agotarot: tweak to display of 'world' card
joeycastillo [Wed, 11 Jan 2023 17:49:44 +0000 (12:49 -0500)]
tarot: tweak to display of 'world' card

3 years agotweak some arcana for readability
joeycastillo [Wed, 11 Jan 2023 17:15:42 +0000 (12:15 -0500)]
tweak some arcana for readability

3 years agoMerge pull request #170 from strickinato/add-doc-to-template
joeycastillo [Wed, 11 Jan 2023 16:44:44 +0000 (11:44 -0500)]
Merge pull request #170 from strickinato/add-doc-to-template

Add documentation to x_face.h template to encourage more docs

3 years agoMerge pull request #168 from neutralinsomniac/remove-unnecessary-conditionals
joeycastillo [Wed, 11 Jan 2023 16:42:52 +0000 (11:42 -0500)]
Merge pull request #168 from neutralinsomniac/remove-unnecessary-conditionals

Remove more unnecessary conditionals

3 years agoAdd documentation to read me to encourage watch face designers
Aaron Strick [Wed, 11 Jan 2023 05:58:43 +0000 (21:58 -0800)]
Add documentation to read me to encourage watch face designers

3 years agoImplement tarot card face
Jeremy O'Brien [Wed, 11 Jan 2023 03:59:17 +0000 (22:59 -0500)]
Implement tarot card face

3 years agoRemove more unnecessary conditionals
Jeremy O'Brien [Wed, 11 Jan 2023 02:02:47 +0000 (21:02 -0500)]
Remove more unnecessary conditionals

3 years agoNew watch face: Tally counter (tally_face) (#160)
Andrew Mike [Tue, 10 Jan 2023 22:02:41 +0000 (17:02 -0500)]
New watch face: Tally counter (tally_face) (#160)

* Add tally face

* Fix copyright block to reflect real author

* Fix indentation

* More style editing, edited comments

* silence warning in tally_face

Co-authored-by: Andrew Mike <andrew@7thmagic.net>
Co-authored-by: joeycastillo <joeycastillo@utexas.edu>
3 years agoPrecision watch update (#152)
Mikhail Svarichevsky [Tue, 10 Jan 2023 21:56:26 +0000 (00:56 +0300)]
Precision watch update (#152)

* Intermediate changes

* Databank working

* Main commit for precision timing

First version where all functions are supposed to be working

* Fix math error in nanosec. File storage for location.

* Remove obsolete comments

* Missing page name on pages rotation - thanks to jeremy

* Delete file.diff

* Cleanup+tempchart

1) finetune must always reset last calibration time when doing non-0 time correction, even when you are not applying ppm correction.
2) Dithers over 31 periods not 10, more resolution with still no risk of overflow
3) Minute-boundery finetune fix. I also just got this 1-minute error after finetune...
4) Write frequency calibration value in 1 operation rather than 2. All RTC writes must be single operations to avoid partially correct data.
5) Some code cleanup
6) Tempchart face is added for temperature statistics

* Update set_time_hackwatch_face.c

* Math error in display code of finetune, allow to update correction time even without correction - by long alarm press

* Increase reliability of stopping & starting RTC timer

As it's quite dangerous operation

* hackwatch - days adjust down fix by long alarm

* unify style

* More comments & last style change

* Simulator support

RTC operations (watch_rtc_enable and watch_rtc_freqcorr_write) are in common libs.

* Unicode fix

* Crystal aging is now adjustable (AA page in nanosec - annual aging, ppm/year)

Aging is baked into fixed offset every time finetune is performed, as it relies on last adjustment time.

* Blink on non-0 page every minute in finetune to measure clock error

* Rolling back private changes

* Cleanup

* Cleanup

* Quality of life changes in nanosec

1. Does not calculate & apply ppm correction if less than 6 hours passed since previous adjustment (as it gives very high correction values which are unrealistic and unhelpful)
2. Idle timeout resets to face 0 only if no correction was made

* unify style

* Fix low-power errors in nanosec infrastructure, faster display in finetune

* Merge fix

* unify style

Co-authored-by: Jeremy O'Brien <neutral@fastmail.com>
Co-authored-by: joeycastillo <joeycastillo@utexas.edu>
3 years agoAdd Tachymeter face (#165)
Raymundo Cassani [Tue, 10 Jan 2023 21:43:04 +0000 (16:43 -0500)]
Add Tachymeter face (#165)

* Create template for tachymeter

* Basic working tachymeter

* Improve UI for running and results

* Allow editing distance

* Alarm long-press to enter and exit editing mode

* Improve light button behaviour

* Set distance digit wise.

* Use 250ms resolution for total time

* Improve comments

* Bugfix: Show distance when running and face becomes active

* Update `%d` to `%lu` in `sprintf` call for `uint32_t`

* Ignore Alarm button (Up and Long-press) when showing results

* Improve GUI when running and face gets activated

* Change speed indicator from `/H` to `/h`

* silence warnings in tachymeter face

Co-authored-by: joeycastillo <joeycastillo@utexas.edu>
3 years agofixes 161: sets both CCBUF and PERFBUF for correct buzzer tone (#162)
gugray [Tue, 10 Jan 2023 21:33:29 +0000 (22:33 +0100)]
fixes 161: sets both CCBUF and PERFBUF for correct buzzer tone (#162)

3 years agoAdd stock stopwatch face (#140)
TheOnePerson [Tue, 10 Jan 2023 21:31:32 +0000 (22:31 +0100)]
Add stock stopwatch face (#140)

* buzzer sequences: first draft, does not work on hardware yet (but in simulator)

* buzzer sequences: add changes to movement.c

* buzzer sequences: add demo face to Makefile

* buzzer sequences: fix problem of interrupted sounds. Add logic for repeating sub sequences. Tidy up (move logic to watch_buzzer files, remove buzzer_demo_face)

* buzzer sequences: tidy up even more

* buzzer sequences: disable registering a 32 Hz tick callback for watch faces, so it will be used exclusively by the buzzer sequences functionality

* buzzer sequences: add callback slot functionality to watch_rtc and make watch_buzzer use it. Switch internal buzzer sequences tick frequency to 64 Hz. Revert changes to movement.c

* buzzer sequences: fix parameter sanity check in watch_rtc code

* stock stopwatch: first fully functional implementation

* stock stopwatch: fix typo in comment

* stock stopwatch: handle resuming from deep sleep mode properly

* buzzer sequences/watch_rtc: optimize calling tick callbacks in RTC_Handler

* buzzer sequences/watch_rtc: fix error in calling callback functions

* stock stopwatch: implement workaround for sleep mode

* stock stopwatch: merge current main into stock-stopwatch

* stock stopwatch: use TC counters as source for callbacks

* stock-stopwatch: revert unnecessary changes to watch_buzzer

Co-authored-by: joeycastillo <joeycastillo@utexas.edu>
3 years agoRPN Calculator face (#112)
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.

3 years agoMerge pull request #119 from neutralinsomniac/add_hours_to_countdown_face
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

3 years agoshow colon after hours in countdown face
joeycastillo [Tue, 10 Jan 2023 21:12:15 +0000 (16:12 -0500)]
show colon after hours in countdown face

3 years agoMerge pull request #159 from neutralinsomniac/remove-unnecessary-conditional
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

3 years agoremove 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

3 years agoMerge pull request #158 from neutralinsomniac/fix-sailing-face-compiler-warnings
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

3 years agofix 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

3 years agonever disable buzzer output
joeycastillo [Wed, 4 Jan 2023 03:24:14 +0000 (21:24 -0600)]
never disable buzzer output

3 years agoMerge pull request #106 from niclashoyer/sailing
joeycastillo [Sat, 31 Dec 2022 17:04:55 +0000 (11:04 -0600)]
Merge pull request #106 from niclashoyer/sailing

Add sailing watch face

3 years agoMerge pull request #126 from ShogoOkamoto/main
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

3 years agoMerge pull request #149 from slim/main
joeycastillo [Wed, 14 Dec 2022 15:40:22 +0000 (09:40 -0600)]
Merge pull request #149 from slim/main

Week number watch face

3 years agoMerge pull request #144 from kyleboyle/skin
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

3 years agoMerge branch 'main' of github.com:joeycastillo/Sensor-Watch into main
Slim [Fri, 2 Dec 2022 18:53:56 +0000 (19:53 +0100)]
Merge branch 'main' of github.com:joeycastillo/Sensor-Watch into main

3 years agoWeeknumber watch face
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

3 years agonew standard firmware
joeycastillo [Tue, 29 Nov 2022 20:51:26 +0000 (14:51 -0600)]
new standard firmware

3 years agostopwatch: slow down sleep animation
joeycastillo [Tue, 29 Nov 2022 19:40:03 +0000 (13:40 -0600)]
stopwatch: slow down sleep animation

3 years agosunrise/set: return home if no location set
joeycastillo [Tue, 29 Nov 2022 19:39:14 +0000 (13:39 -0600)]
sunrise/set: return home if no location set

3 years agonew backer firmware with original lineup
joeycastillo [Tue, 29 Nov 2022 16:01:47 +0000 (10:01 -0600)]
new backer firmware with original lineup

3 years agodeep space now: use standard time
joeycastillo [Mon, 28 Nov 2022 17:44:12 +0000 (11:44 -0600)]
deep space now: use standard time

3 years agoallow setting default LED colors in movement_config
joeycastillo [Mon, 28 Nov 2022 17:43:51 +0000 (11:43 -0600)]
allow setting default LED colors in movement_config

3 years agotime set: allow setting year through 2050
joeycastillo [Mon, 28 Nov 2022 07:28:02 +0000 (01:28 -0600)]
time set: allow setting year through 2050

3 years agokeep stopwatch awake while running and on screen
joeycastillo [Mon, 28 Nov 2022 06:58:25 +0000 (00:58 -0600)]
keep stopwatch awake while running and on screen

3 years agoaddress sunrise/set rounding in last 30 seconds of hour (fixes #146)
joeycastillo [Mon, 28 Nov 2022 06:40:08 +0000 (00:40 -0600)]
address sunrise/set rounding in last 30 seconds of hour (fixes #146)

3 years agofix sunrise/sunset in last 30 seconds of the hour
joeycastillo [Sun, 27 Nov 2022 23:02:30 +0000 (17:02 -0600)]
fix sunrise/sunset in last 30 seconds of the hour

3 years agomake stopwatch beep when started/stopped
joeycastillo [Sun, 27 Nov 2022 22:52:25 +0000 (16:52 -0600)]
make stopwatch beep when started/stopped

3 years agoreplace temperature sensor with stopwatch
joeycastillo [Sun, 27 Nov 2022 15:57:25 +0000 (09:57 -0600)]
replace temperature sensor with stopwatch

3 years agoAdds watch skin toggle to for model A158WEA-9 should one be feeling classy
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

3 years agoMerge pull request #134 from abhignay/main
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

3 years agoMerge pull request #138 from darigovresearch/main
joeycastillo [Tue, 22 Nov 2022 14:45:53 +0000 (08:45 -0600)]
Merge pull request #138 from darigovresearch/main

docs: Adds License to readme

3 years agoMerge pull request #141 from TomHodson/fix_simulated_led_color
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

3 years agoMerge pull request #118 from wryun/separate-emscripten-build-dir
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

3 years agoremove errant console.log
Tom Hodson [Tue, 22 Nov 2022 13:39:46 +0000 (14:39 +0100)]
remove errant console.log

3 years agoWIP: Add support for bicolor led in the simulator
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.

3 years agodocs: Adds License to readme
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