]>
git.earman.xyz Git - sensor-watch.git/log
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 .
joeycastillo [Sun, 16 Apr 2023 14:46:44 +0000 (10:46 -0400)]
Revert "Randonaut Watch Face (#233)"
This reverts commit
a3fe36f6dbdbde331fb7c10138e4b0c3fa8ad298 .
joeycastillo [Sun, 16 Apr 2023 14:37:14 +0000 (10:37 -0400)]
Merge branch 'main' of https://github.com/joeycastillo/Sensor-Watch
joeycastillo [Sun, 16 Apr 2023 14:30:49 +0000 (10:30 -0400)]
return movement_config to standard list of watch faces
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
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>
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
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>
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>
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>
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>
joeycastillo [Fri, 14 Apr 2023 00:57:08 +0000 (20:57 -0400)]
add LIS2DW accelerometer board
joeycastillo [Fri, 14 Apr 2023 00:55:53 +0000 (20:55 -0400)]
add kicad stuff to gitignore
joeycastillo [Fri, 14 Apr 2023 00:53:53 +0000 (20:53 -0400)]
organize sensor watch accessory boards
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>
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>
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
joeycastillo [Sat, 11 Mar 2023 21:33:13 +0000 (16:33 -0500)]
Merge pull request #213 from wryun/fix-cat
Fix cat command
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>
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
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>
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>
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
joeycastillo [Sat, 11 Mar 2023 21:06:38 +0000 (16:06 -0500)]
Merge branch 'main' into repetition_minute
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
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
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.
TheOnePerson [Mon, 20 Feb 2023 06:51:45 +0000 (07:51 +0100)]
interval face: make global vars static
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.
Jeremy O'Brien [Sat, 11 Feb 2023 03:30:26 +0000 (22:30 -0500)]
fix compile warning in day one face
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
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!
joeycastillo [Fri, 10 Feb 2023 22:44:36 +0000 (16:44 -0600)]
what fresh hell was that?
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)
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
Ronny Lam [Fri, 27 Jan 2023 21:41:33 +0000 (22:41 +0100)]
Added option to use_iso_8601_weeknumber
joeycastillo [Wed, 8 Feb 2023 17:30:15 +0000 (11:30 -0600)]
make TOTP face more responsive when swapping between codes
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
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
joeycastillo [Fri, 27 Jan 2023 06:08:36 +0000 (00:08 -0600)]
fix for events firing way too fast
joeycastillo [Wed, 25 Jan 2023 16:37:16 +0000 (10:37 -0600)]
add hardcoded frequency correction values
joeycastillo [Wed, 25 Jan 2023 16:32:35 +0000 (10:32 -0600)]
rename definition for special edition boards
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
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
joeycastillo [Wed, 25 Jan 2023 15:26:31 +0000 (09:26 -0600)]
Merge branch 'main' into default-handler
Jeremy O'Brien [Wed, 25 Jan 2023 03:43:31 +0000 (22:43 -0500)]
add default loop handler to all current watch faces
Jeremy O'Brien [Mon, 23 Jan 2023 21:26:47 +0000 (16:26 -0500)]
ships_face: fix compiler warnings (#186)
TheOnePerson [Mon, 23 Jan 2023 21:26:03 +0000 (22:26 +0100)]
fix fast_tick_enabled behavior in movement (#183)
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
Jeremy O'Brien [Mon, 23 Jan 2023 20:15:57 +0000 (15:15 -0500)]
tarot: avoid mandatory function call on every tick (#185)
buckket [Mon, 23 Jan 2023 20:15:19 +0000 (21:15 +0100)]
Add ships_bell_face (#182)
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>
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
TheOnePerson [Fri, 20 Jan 2023 20:54:00 +0000 (21:54 +0100)]
alarm: fix bell indicator not showing up on fridays
joeycastillo [Tue, 17 Jan 2023 17:05:27 +0000 (11:05 -0600)]
typo
joeycastillo [Tue, 17 Jan 2023 17:02:56 +0000 (11:02 -0600)]
clarify return value notes in template
joeycastillo [Tue, 17 Jan 2023 16:52:42 +0000 (10:52 -0600)]
Merge branch 'main' into default-handler
joeycastillo [Tue, 17 Jan 2023 14:52:01 +0000 (08:52 -0600)]
Revert "never disable buzzer output"
This reverts commit
851d047c818dacc30c86f4d87f33247dcfb0095c .
joeycastillo [Sun, 15 Jan 2023 15:31:12 +0000 (09:31 -0600)]
fix documentation of default loop handler in template
joeycastillo [Sun, 15 Jan 2023 15:28:41 +0000 (09:28 -0600)]
handle switch to secondary face in default handler
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
joeycastillo [Sat, 14 Jan 2023 19:21:04 +0000 (14:21 -0500)]
add movement_default_loop_handler, test with default watch faces
Jeremy O'Brien [Sat, 14 Jan 2023 18:20:38 +0000 (13:20 -0500)]
rpn_calculator: fix compiler warnings
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>
Niclas Hoyer [Sat, 14 Jan 2023 16:51:33 +0000 (17:51 +0100)]
Add calculator watch face (#111)
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
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
Jeremy O'Brien [Fri, 13 Jan 2023 19:52:09 +0000 (14:52 -0500)]
alarm: fix accidental assignment vs conditional logic
Jeremy O'Brien [Fri, 13 Jan 2023 15:26:11 +0000 (10:26 -0500)]
tarot: mode long press returns to face 0
Jeremy O'Brien [Fri, 13 Jan 2023 13:06:29 +0000 (08:06 -0500)]
tarot: reduce calls to watch_display_string()
Jeremy O'Brien [Fri, 13 Jan 2023 02:49:04 +0000 (21:49 -0500)]
tarot: add full tarot deck as an option
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
Jeremy O'Brien [Thu, 12 Jan 2023 13:34:40 +0000 (08:34 -0500)]
tarot: fix compiler warning
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
Jeremy O'Brien [Wed, 11 Jan 2023 23:36:13 +0000 (18:36 -0500)]
tarot: add card inversion explanation
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
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>
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)
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
Jeremy O'Brien [Wed, 11 Jan 2023 19:54:52 +0000 (14:54 -0500)]
add tarot face documentation as per the new template.h
joeycastillo [Wed, 11 Jan 2023 19:25:37 +0000 (14:25 -0500)]
Merge pull request #169 from neutralinsomniac/tarot-face
Implement tarot card face
joeycastillo [Wed, 11 Jan 2023 18:45:11 +0000 (13:45 -0500)]
revert tweak to 'world' card
Jeremy O'Brien [Wed, 11 Jan 2023 18:33:51 +0000 (13:33 -0500)]
tarot: move comment to where it belongs
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
joeycastillo [Wed, 11 Jan 2023 17:49:44 +0000 (12:49 -0500)]
tarot: tweak to display of 'world' card
joeycastillo [Wed, 11 Jan 2023 17:15:42 +0000 (12:15 -0500)]
tweak some arcana for readability
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
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
Aaron Strick [Wed, 11 Jan 2023 05:58:43 +0000 (21:58 -0800)]
Add documentation to read me to encourage watch face designers
Jeremy O'Brien [Wed, 11 Jan 2023 03:59:17 +0000 (22:59 -0500)]
Implement tarot card face
Jeremy O'Brien [Wed, 11 Jan 2023 02:02:47 +0000 (21:02 -0500)]
Remove more unnecessary conditionals
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>
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>
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>
gugray [Tue, 10 Jan 2023 21:33:29 +0000 (22:33 +0100)]
fixes 161: sets both CCBUF and PERFBUF for correct buzzer tone (#162)
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>
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