]> git.earman.xyz Git - sensor-watch.git/log
sensor-watch.git
3 years agoMerge branch 'main' into timer-face
TheOnePerson [Thu, 18 May 2023 07:42:13 +0000 (09:42 +0200)]
Merge branch 'main' into timer-face

# Conflicts:
# movement/make/Makefile
# movement/movement_faces.h

3 years agorename folder for cross-platform compatibility
joeycastillo [Sun, 14 May 2023 14:41:02 +0000 (10:41 -0400)]
rename folder for cross-platform compatibility

3 years agoMerge pull request #238 from joeycastillo/randonaut-and-geomancy
joeycastillo [Tue, 18 Apr 2023 01:34:56 +0000 (21:34 -0400)]
Merge pull request #238 from joeycastillo/randonaut-and-geomancy

Randonaut and geomancy

3 years agoMerge pull request #239 from randogoth/randonaut-and-geomancy
joeycastillo [Tue, 18 Apr 2023 01:16:08 +0000 (21:16 -0400)]
Merge pull request #239 from randogoth/randonaut-and-geomancy

deobfuscated code, fixed warnings

3 years agodeobfuscated code, fixed warnings
randogoth [Sun, 16 Apr 2023 18:54:26 +0000 (21:54 +0300)]
deobfuscated code, fixed warnings

3 years agofix most warnings
joeycastillo [Sun, 16 Apr 2023 15:06:11 +0000 (11:06 -0400)]
fix most warnings

3 years agoRandonaut Watch Face (#233)
randogoth [Sun, 16 Apr 2023 14:29:42 +0000 (15:29 +0100)]
Randonaut Watch Face (#233)

* init

* advanced latlon setting

* simple functionality done

* lat lon high precision fwd bwd

* edit toggle

* added readme for branch

* DD DMS conversion & cleanup

* DD to OLC conversion

* olc encoding & decoding

* OLC implementation

* swapped bools for modes, code cleanup

* place name editor

* updated button logic, fixed display

* load and save  places in state array

* todo list

* simplified OLC functions

* geohash conversion functions

* geohash display & digit functions

* todo

* finished geohash implementation

* code display function, defaults, bugfixes

* read/write file/reg logic

* long light in DATA to cancel

* write to registry

* todo

* read & write backup register

* file read/write

* todo

* new more concise button logic, optimizations

* todo

* renamed & cleaned up, fixed button logic

* documentation

* documentation

* LAP mode for all coordinate screens

* faster and more precise geohash algorithm

* updated description

* updated docu

* simple place face

* bugfixes, updated documentation

* init

* meh

* added public functions for OLC and Geohash

* randonauting face

* fix

* display fix

* cleanup

* bugfixes

* bugfix

* added place

* fixed TRNG call

* fixed declaration conflict

* modulo bias filter

* simplified things, chance RNG selection

* fixed button logic, better menus

* cleanup

* documentation

* docu fixes

* original README

* updated place_face

* fallback to register location

* removed pointless freq req

* reset config

* fixed dependency issue

* minor bugfixes

* saved a bit :)

* fix

3 years agoCoin & Dice Toss & Geomantic Divination Watch Faces (#235)
randogoth [Sun, 16 Apr 2023 14:16:10 +0000 (15:16 +0100)]
Coin & Dice Toss & Geomantic Divination Watch Faces (#235)

* init

* advanced latlon setting

* simple functionality done

* lat lon high precision fwd bwd

* edit toggle

* added readme for branch

* DD DMS conversion & cleanup

* DD to OLC conversion

* olc encoding & decoding

* OLC implementation

* swapped bools for modes, code cleanup

* place name editor

* updated button logic, fixed display

* load and save  places in state array

* todo list

* simplified OLC functions

* geohash conversion functions

* geohash display & digit functions

* todo

* finished geohash implementation

* code display function, defaults, bugfixes

* read/write file/reg logic

* long light in DATA to cancel

* write to registry

* todo

* read & write backup register

* file read/write

* todo

* new more concise button logic, optimizations

* todo

* renamed & cleaned up, fixed button logic

* documentation

* documentation

* LAP mode for all coordinate screens

* faster and more precise geohash algorithm

* updated description

* updated docu

* simple place face

* bugfixes, updated documentation

* init

* meh

* added public functions for OLC and Geohash

* randonauting face

* fix

* display fix

* cleanup

* bugfixes

* bugfix

* added place

* fixed TRNG call

* fixed declaration conflict

* modulo bias filter

* simplified things, chance RNG selection

* fixed button logic, better menus

* cleanup

* documentation

* docu fixes

* init

* basic functions

* all needed static functions done

* progress

* coins and dice done

* progress

* place update

* divination faces functionality done

* better divine_bit

* figure numbers and names

* captions optional

* coin animation

* dice animation & optimizations

* animation

* changed names, documented

* bugfix

* cleanup

* reset config

---------

Co-authored-by: joeycastillo <joeycastillo@utexas.edu>
3 years agosilence warnings around morsecalc
joeycastillo [Sun, 16 Apr 2023 14:56:08 +0000 (10:56 -0400)]
silence warnings around morsecalc

3 years agosilence most warnings
joeycastillo [Sun, 16 Apr 2023 14:49:03 +0000 (10:49 -0400)]
silence most warnings

3 years agoRevert "Coin & Dice Toss & Geomantic Divination Watch Faces (#235)"
joeycastillo [Sun, 16 Apr 2023 14:46:52 +0000 (10:46 -0400)]
Revert "Coin & Dice Toss & Geomantic Divination Watch Faces (#235)"

This reverts commit 34030bf3e403b2043dcd9f960189d93190dcbb0c.

3 years agoRevert "Randonaut Watch Face (#233)"
joeycastillo [Sun, 16 Apr 2023 14:46:44 +0000 (10:46 -0400)]
Revert "Randonaut Watch Face (#233)"

This reverts commit a3fe36f6dbdbde331fb7c10138e4b0c3fa8ad298.

3 years agoMerge branch 'main' of https://github.com/joeycastillo/Sensor-Watch
joeycastillo [Sun, 16 Apr 2023 14:37:14 +0000 (10:37 -0400)]
Merge branch 'main' of https://github.com/joeycastillo/Sensor-Watch

3 years agoreturn movement_config to standard list of watch faces
joeycastillo [Sun, 16 Apr 2023 14:30:49 +0000 (10:30 -0400)]
return movement_config to standard list of watch faces

3 years agoRandonaut Watch Face (#233)
randogoth [Sun, 16 Apr 2023 14:29:42 +0000 (15:29 +0100)]
Randonaut Watch Face (#233)

* init

* advanced latlon setting

* simple functionality done

* lat lon high precision fwd bwd

* edit toggle

* added readme for branch

* DD DMS conversion & cleanup

* DD to OLC conversion

* olc encoding & decoding

* OLC implementation

* swapped bools for modes, code cleanup

* place name editor

* updated button logic, fixed display

* load and save  places in state array

* todo list

* simplified OLC functions

* geohash conversion functions

* geohash display & digit functions

* todo

* finished geohash implementation

* code display function, defaults, bugfixes

* read/write file/reg logic

* long light in DATA to cancel

* write to registry

* todo

* read & write backup register

* file read/write

* todo

* new more concise button logic, optimizations

* todo

* renamed & cleaned up, fixed button logic

* documentation

* documentation

* LAP mode for all coordinate screens

* faster and more precise geohash algorithm

* updated description

* updated docu

* simple place face

* bugfixes, updated documentation

* init

* meh

* added public functions for OLC and Geohash

* randonauting face

* fix

* display fix

* cleanup

* bugfixes

* bugfix

* added place

* fixed TRNG call

* fixed declaration conflict

* modulo bias filter

* simplified things, chance RNG selection

* fixed button logic, better menus

* cleanup

* documentation

* docu fixes

* original README

* updated place_face

* fallback to register location

* removed pointless freq req

* reset config

* fixed dependency issue

* minor bugfixes

* saved a bit :)

* fix

3 years agoCoin & Dice Toss & Geomantic Divination Watch Faces (#235)
randogoth [Sun, 16 Apr 2023 14:16:10 +0000 (15:16 +0100)]
Coin & Dice Toss & Geomantic Divination Watch Faces (#235)

* init

* advanced latlon setting

* simple functionality done

* lat lon high precision fwd bwd

* edit toggle

* added readme for branch

* DD DMS conversion & cleanup

* DD to OLC conversion

* olc encoding & decoding

* OLC implementation

* swapped bools for modes, code cleanup

* place name editor

* updated button logic, fixed display

* load and save  places in state array

* todo list

* simplified OLC functions

* geohash conversion functions

* geohash display & digit functions

* todo

* finished geohash implementation

* code display function, defaults, bugfixes

* read/write file/reg logic

* long light in DATA to cancel

* write to registry

* todo

* read & write backup register

* file read/write

* todo

* new more concise button logic, optimizations

* todo

* renamed & cleaned up, fixed button logic

* documentation

* documentation

* LAP mode for all coordinate screens

* faster and more precise geohash algorithm

* updated description

* updated docu

* simple place face

* bugfixes, updated documentation

* init

* meh

* added public functions for OLC and Geohash

* randonauting face

* fix

* display fix

* cleanup

* bugfixes

* bugfix

* added place

* fixed TRNG call

* fixed declaration conflict

* modulo bias filter

* simplified things, chance RNG selection

* fixed button logic, better menus

* cleanup

* documentation

* docu fixes

* init

* basic functions

* all needed static functions done

* progress

* coins and dice done

* progress

* place update

* divination faces functionality done

* better divine_bit

* figure numbers and names

* captions optional

* coin animation

* dice animation & optimizations

* animation

* changed names, documented

* bugfix

* cleanup

* reset config

---------

Co-authored-by: joeycastillo <joeycastillo@utexas.edu>
3 years agoDual Timer, a variant of the Stock Stopwatch (#236)
randogoth [Sun, 16 Apr 2023 14:13:51 +0000 (15:13 +0100)]
Dual Timer, a variant of the Stock Stopwatch (#236)

* init

* advanced latlon setting

* simple functionality done

* lat lon high precision fwd bwd

* edit toggle

* added readme for branch

* DD DMS conversion & cleanup

* DD to OLC conversion

* olc encoding & decoding

* OLC implementation

* swapped bools for modes, code cleanup

* place name editor

* updated button logic, fixed display

* load and save  places in state array

* todo list

* simplified OLC functions

* geohash conversion functions

* geohash display & digit functions

* todo

* finished geohash implementation

* code display function, defaults, bugfixes

* read/write file/reg logic

* long light in DATA to cancel

* write to registry

* todo

* read & write backup register

* file read/write

* todo

* new more concise button logic, optimizations

* todo

* renamed & cleaned up, fixed button logic

* documentation

* documentation

* LAP mode for all coordinate screens

* faster and more precise geohash algorithm

* updated description

* updated docu

* simple place face

* bugfixes, updated documentation

* init

* meh

* added public functions for OLC and Geohash

* randonauting face

* fix

* display fix

* cleanup

* bugfixes

* bugfix

* added place

* fixed TRNG call

* fixed declaration conflict

* modulo bias filter

* simplified things, chance RNG selection

* fixed button logic, better menus

* cleanup

* documentation

* docu fixes

* original README

* updated place_face

* fallback to register location

* removed pointless freq req

* init

* dual chronograph

* documented and cleaned up

* unused var warning fix

* swap TC2 with TC3 to avoid conflict

* conflict

* show active when returning to face

* docu

* removed unneeded file

* added remain

* show screen on startup

* simplified mode button

3 years agoPlanetary Hours Faces (#234)
randogoth [Sun, 16 Apr 2023 14:13:21 +0000 (15:13 +0100)]
Planetary Hours Faces (#234)

* initial setup & test

* simplified solar calulcation function

* Initial Release

* initial setup

* UTC offset fixes

* finished and cleaned up

* renamed faces

* optimizations & astro symbols

* wrapping ruler

* cleanup

* optimizations

* merged latest place_face

* documentation

* fixed faster seconds

* removed place_face from branch

* reset config

---------

Co-authored-by: NN Solex <info@sublunar.space>
Co-authored-by: joeycastillo <joeycastillo@utexas.edu>
3 years agoAperture priority light meter face (#230)
Christian Chapman [Sun, 16 Apr 2023 14:05:55 +0000 (10:05 -0400)]
Aperture priority light meter face (#230)

* initial commit, added opt3001 light meter test app

* tested working light meter board, i2c communication still has issues

* fixed i2c; rudimentary lightmeter works!

* added aperture priority ui

* added aperture priority ui

* added README

* adjusted cal

* fixed bugs (HI shutter speed, lux mode toggle)

* made it possible to advance to the next face

* initialized lux variable

* lowered tolerance for HI and LO

* Changed EV display from always showing EV100 to showing EV[iso setting]

* dont display old ev when ISO changes

* changed mode and light behavior

* updated readme

* fixed indentation

* made lightmeter display logic more consistent

* made lightmeter display logic more consistent

* reverted rules.mk (for merge into upstream)

* reverted rules.mk (for merge into upstream)

* removed OPT3001 PCB model

* made lux mode default, corrected timeout behavior

---------

Co-authored-by: Christian Chapman <user@debian>
3 years agoAdding Breathing complication (#220)
Bernd Plontsch [Sun, 16 Apr 2023 14:04:46 +0000 (23:04 +0900)]
Adding Breathing complication (#220)

* Added complication

* Including complication in build configuration

* Clean up

* restore default watch face selection

* Fixed comment

* Remove unused

* Made functions internal

---------

Co-authored-by: Bernd Plontsch <bernd@plontsch@gmail.com>
Co-authored-by: joeycastillo <joeycastillo@utexas.edu>
3 years agoMorsecalc refactor (#229)
Christian Chapman [Sun, 16 Apr 2023 14:01:03 +0000 (10:01 -0400)]
Morsecalc refactor (#229)

* 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

* Reorganized codebase and simplified morse code reading routines.

* added 'quit if submission is empty' behavior

* reverted rules.mk change for merge into main

* corrected timeout behavior

* consolidated morsecode lib into one file; deleted old mc.c mc.h

* consolidated morsecode lib into one file; deleted old mc.c mc.h

* removed specious null in morsecode bintree string

---------

Co-authored-by: Christian Chapman <user@debian>
Co-authored-by: joeycastillo <joeycastillo@utexas.edu>
3 years agoadd LIS2DW accelerometer board
joeycastillo [Fri, 14 Apr 2023 00:57:08 +0000 (20:57 -0400)]
add LIS2DW accelerometer board

3 years agoadd kicad stuff to gitignore
joeycastillo [Fri, 14 Apr 2023 00:55:53 +0000 (20:55 -0400)]
add kicad stuff to gitignore

3 years agoorganize sensor watch accessory boards
joeycastillo [Fri, 14 Apr 2023 00:53:53 +0000 (20:53 -0400)]
organize sensor watch accessory boards

3 years agoTime Left Face: Visualize progress in any time interval (#217)
TheOnePerson [Sat, 11 Mar 2023 21:40:55 +0000 (22:40 +0100)]
Time Left Face: Visualize progress in any time interval (#217)

* time left face: initial commit, fully functional

* time left face: typos

* time left face: correct even more typos in documentation

---------

Co-authored-by: joeycastillo <joeycastillo@utexas.edu>
3 years agoAlternative implementation of world clock (#216)
Konrad Rieck [Sat, 11 Mar 2023 21:37:40 +0000 (22:37 +0100)]
Alternative implementation of world clock (#216)

* Implementation of alternative world clock.

* Fixed two minor bugs
- Only start in settings mode on first activation
- Fixed typo in time zone names

---------

Co-authored-by: joeycastillo <joeycastillo@utexas.edu>
3 years agoMerge pull request #221 from TheOnePerson/simulator-add-segment-0-15
joeycastillo [Sat, 11 Mar 2023 21:33:44 +0000 (16:33 -0500)]
Merge pull request #221 from TheOnePerson/simulator-add-segment-0-15

Simulator LCD: add tiny element in the lower left corner for the first display position

3 years agoMerge pull request #213 from wryun/fix-cat
joeycastillo [Sat, 11 Mar 2023 21:33:13 +0000 (16:33 -0500)]
Merge pull request #213 from wryun/fix-cat

Fix cat command

3 years agoInvaders Face (#210)
TheOnePerson [Sat, 11 Mar 2023 21:31:17 +0000 (22:31 +0100)]
Invaders Face (#210)

* invaders face: Initial commit, fully functional so far

* invaders face: silence compiler warning

* invaders face: prevent involuntary restarts when the game is over and save some bytes on flags

---------

Co-authored-by: joeycastillo <joeycastillo@utexas.edu>
3 years agoActivity face + Chirpy TX (#187)
gugray [Sat, 11 Mar 2023 21:27:18 +0000 (22:27 +0100)]
Activity face + Chirpy TX (#187)

* chirpy demo face; activity face stub

* activity face WIP: can log, pause and clear

* activity face and chirpy demo: ready to flash to watch

* activity face tweaks

* hour display for hours < 10

* fix: added rogue paused seconds when stopping activity

* LE mode; lower power with 1Hz tick

* fix: midnight is 12

* Documentation in code comments

* fixes from code review by @neutralinsomniac

* chirpy_demo_face option to chirp out nanosec.ini + auto-format

* UI tweaks

* remove erroneously added file (content revoked)

* UI tweaks: return from LE mode; time display vs LAP

* add default loop handler (will enable long-mode-to-first-face)

* reset watch faces to match main branch

3 years agoTimer Face: Advanced countdown face with presets (#224)
TheOnePerson [Sat, 11 Mar 2023 21:26:36 +0000 (22:26 +0100)]
Timer Face: Advanced countdown face with presets (#224)

* timer face: initial commit, fully functional

* timer face: show slot number in normal mode

---------

Co-authored-by: joeycastillo <joeycastillo@utexas.edu>
3 years agodiscgolf_face initial commit (#207)
thg191 [Sat, 11 Mar 2023 21:12:00 +0000 (21:12 +0000)]
discgolf_face initial commit (#207)

* discgolf_face initial commit

* Comment on wrong line

* updated drawing method and added beeps

* Put description in appropriate file, added license

* fixed for loops that didn't cover whole array, long mode press snaps back to default face

---------

Co-authored-by: joeycastillo <joeycastillo@utexas.edu>
3 years agoMerge pull request #204 from Jonas-fr/repetition_minute
joeycastillo [Sat, 11 Mar 2023 21:08:19 +0000 (16:08 -0500)]
Merge pull request #204 from Jonas-fr/repetition_minute

New face - Repetition Minute, fork of simple clock with an accessibillity feature

3 years agoMerge branch 'main' into repetition_minute
joeycastillo [Sat, 11 Mar 2023 21:06:38 +0000 (16:06 -0500)]
Merge branch 'main' into repetition_minute

3 years agoMerge pull request #218 from TheOnePerson/fix-interval-face-globals
joeycastillo [Sat, 11 Mar 2023 21:05:32 +0000 (16:05 -0500)]
Merge pull request #218 from TheOnePerson/fix-interval-face-globals

interval face: make global vars static

3 years agoMerge pull request #211 from neutralinsomniac/fix-day-one-compile-warning
joeycastillo [Sat, 11 Mar 2023 21:05:20 +0000 (16:05 -0500)]
Merge pull request #211 from neutralinsomniac/fix-day-one-compile-warning

fix compile warning in day one face

3 years agotimer face: show slot number in normal mode
TheOnePerson [Fri, 10 Mar 2023 21:17:15 +0000 (22:17 +0100)]
timer face: show slot number in normal mode

3 years agotimer face: initial commit, fully functional
TheOnePerson [Mon, 6 Mar 2023 20:41:48 +0000 (21:41 +0100)]
timer face: initial commit, fully functional

3 years agosimulator: add tiny element in the lower left corner for the first display position.
TheOnePerson [Sat, 25 Feb 2023 14:24:32 +0000 (15:24 +0100)]
simulator: add tiny element in the lower left corner for the first display position.

3 years agointerval face: make global vars static
TheOnePerson [Mon, 20 Feb 2023 06:51:45 +0000 (07:51 +0100)]
interval face: make global vars static

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 agofix compile warning in day one face
Jeremy O'Brien [Sat, 11 Feb 2023 03:30:26 +0000 (22:30 -0500)]
fix compile warning in day one face

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 agoNew face - Repetition Minute, fork of simple clock with an accessibility feature...
Jonas Termeau [Thu, 2 Feb 2023 22:07:24 +0000 (23:07 +0100)]
New face - Repetition Minute, fork of simple clock with an accessibility feature added : time reading via beeps

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