summaryrefslogtreecommitdiffstats
path: root/movement/watch_faces
Commit message (Collapse)AuthorAgeFilesLines
* Alternative implementation of world clock (#216)Konrad Rieck2023-03-112-0/+513
| | | | | | | | | | | * 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>
* Invaders Face (#210)TheOnePerson2023-03-112-0/+516
| | | | | | | | | | | * 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>
* Activity face + Chirpy TX (#187)gugray2023-03-114-0/+1219
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Timer Face: Advanced countdown face with presets (#224)TheOnePerson2023-03-112-0/+469
| | | | | | | | | * timer face: initial commit, fully functional * timer face: show slot number in normal mode --------- Co-authored-by: joeycastillo <joeycastillo@utexas.edu>
* discgolf_face initial commit (#207)thg1912023-03-112-0/+421
| | | | | | | | | | | | | | | * 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>
* Merge branch 'main' into repetition_minutejoeycastillo2023-03-118-74/+483
|\
| * Merge pull request #218 from TheOnePerson/fix-interval-face-globalsjoeycastillo2023-03-111-9/+9
| |\ | | | | | | interval face: make global vars static
| | * interval face: make global vars staticTheOnePerson2023-02-201-9/+9
| | |
| * | fix compile warning in day one faceJeremy O'Brien2023-02-101-1/+1
| |/
| * Sensor watch sailing face (#205)Hein-NonesensE2023-02-102-46/+220
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
| * Allow days in the futurekingannoy2023-02-101-1/+5
| | | | | | | | | | 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!
| * what fresh hell was that?joeycastillo2023-02-101-1/+1
| |
| * countdown_face: implement holding light to reset the currently edited timer ↵Jeremy O'Brien2023-02-101-0/+17
| | | | | | | | value (and everything below it)
| * habit facetslil clingman2023-02-102-0/+210
| | | | | | | | | | Track a single habit, occuring at most once per day, with an eight-day look back and total count
| * make TOTP face more responsive when swapping between codesjoeycastillo2023-02-081-16/+20
| |
* | New face - Repetition Minute, fork of simple clock with an accessibility ↵Jonas Termeau2023-02-022-0/+314
|/ | | | feature added : time reading via beeps
* restore old light button behaviorJeremy O'Brien2023-01-2722-14/+51
| | | | | 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
* rename definition for special edition boardsjoeycastillo2023-01-251-1/+1
|
* tarot_face: use direct character arrays instead of arrays of pointers to ↵Jeremy O'Brien2023-01-251-2/+2
| | | | global strings
* Merge branch 'main' into default-handlerdefault-handlerjoeycastillo2023-01-259-55/+812
|\
| * ships_face: fix compiler warnings (#186)Jeremy O'Brien2023-01-232-2/+5
| |
| * Minor enhancements for the countdown face (#177)Konrad Rieck2023-01-232-25/+103
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
| * tarot: avoid mandatory function call on every tick (#185)Jeremy O'Brien2023-01-231-25/+25
| |
| * Add ships_bell_face (#182)buckket2023-01-232-0/+222
| |
| * Morse-code based RPN calculator (#164)Christian Chapman2023-01-202-0/+451
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
| * alarm: fix bell indicator not showing up on fridaysTheOnePerson2023-01-201-3/+3
| |
* | add default loop handler to all current watch facesJeremy O'Brien2023-01-2540-184/+58
| |
* | Merge branch 'main' into default-handlerjoeycastillo2023-01-174-17/+47
|\|
| * Revert "never disable buzzer output"joeycastillo2023-01-173-3/+31
| | | | | | | | This reverts commit 851d047c818dacc30c86f4d87f33247dcfb0095c.
| * rpn_calculator: fix compiler warningsJeremy O'Brien2023-01-141-14/+16
| |
* | add movement_default_loop_handler, test with default watch facesjoeycastillo2023-01-147-34/+12
|/
* totp : rework and add SHA256/512 (#151)EmilienCourt2023-01-142-10/+41
| | | | | | | | | | | | | | | | | | | | * 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>
* Add calculator watch face (#111)Niclas Hoyer2023-01-142-0/+419
|
* Merge pull request #175 from neutralinsomniac/tarot-add-minor-arcanajoeycastillo2023-01-142-21/+85
|\ | | | | tarot: add full tarot deck as an option
| * tarot: mode long press returns to face 0Jeremy O'Brien2023-01-132-0/+7
| |
| * tarot: reduce calls to watch_display_string()Jeremy O'Brien2023-01-131-18/+12
| |
| * tarot: add full tarot deck as an optionJeremy O'Brien2023-01-122-21/+84
| |
* | alarm: fix accidental assignment vs conditional logicJeremy O'Brien2023-01-131-5/+5
|/
* tarot: fix compiler warningJeremy O'Brien2023-01-121-1/+1
|
* tarot: add card inversion explanationJeremy O'Brien2023-01-111-2/+8
|
* Merge pull request #171 from neutralinsomniac/document_tarot_facejoeycastillo2023-01-111-0/+15
|\ | | | | add tarot face documentation as per the new template.h
| * add tarot face documentation as per the new template.hJeremy O'Brien2023-01-111-0/+15
| |
* | Interval timers face (#130)TheOnePerson2023-01-112-0/+758
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* | Add quick counting through hours, minutes, etc. to set time face. (#131)TheOnePerson2023-01-111-33/+70
|/ | | | | | | | | * 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
* Merge pull request #169 from neutralinsomniac/tarot-facejoeycastillo2023-01-112-0/+308
|\ | | | | Implement tarot card face
| * revert tweak to 'world' cardjoeycastillo2023-01-111-7/+1
| |
| * tarot: move comment to where it belongsJeremy O'Brien2023-01-111-1/+1
| |
| * Implement card flipping and arbitrary # of card draws up to 10Jeremy O'Brien2023-01-112-39/+91
| |
| * tarot: tweak to display of 'world' cardjoeycastillo2023-01-111-1/+7
| |
| * tweak some arcana for readabilityjoeycastillo2023-01-111-7/+9
| |