joeycastillo
0a9d71e2d4
use consistent naming style for typedefs
2024-10-05 10:36:58 -04:00
joeycastillo
5b12491ebe
bring sunrise/sunset face into new movement
2024-09-29 23:13:59 -04:00
joeycastillo
8269caf49b
bring in alarm face, rename to 'advanced alarm face'
2024-09-29 22:53:54 -04:00
joeycastillo
cfd04be4fb
refactor watch faces to use new advisory API
2024-09-29 22:14:55 -04:00
joeycastillo
4b8b092594
tick_animation is now sleep_animation (which just displays an indicator on new LCD)
2024-09-29 15:24:43 -04:00
joeycastillo
32a49a5e11
rename stock_stopwatch -> fast_stopwatch
2024-09-29 13:27:35 -04:00
joeycastillo
e21561b330
bring in stock stopwatch face, refactor to use TC1
2024-09-29 13:11:32 -04:00
joeycastillo
e88359d1d5
refactor: watch faces no longer need a pointer to settings!
2024-09-29 10:18:11 -04:00
joeycastillo
07d6a05e33
refactor time zone index to function calls
2024-09-29 10:18:11 -04:00
joeycastillo
f315744cc3
refactor remaining uses of movement_timezone_offsets to movement_get_current_timezone_offset
2024-09-29 10:18:11 -04:00
joeycastillo
e2b01d4018
refactor movement's LED color to a function call
2024-09-29 08:31:23 -04:00
joeycastillo
71922f8e51
refactor movement's alarm_enabled bit to a function call
2024-09-29 08:16:53 -04:00
joeycastillo
0bec3c22c4
refactor movement's unit preference to a function call
2024-09-29 08:09:11 -04:00
joeycastillo
c5e5bc1200
refactor movement's 24h mode to a function call
2024-09-29 08:02:20 -04:00
joeycastillo
63e0981693
wareki face: remove debug code
2024-09-29 07:55:47 -04:00
joeycastillo
01f1008e16
refactor movement's button preference into a function call
2024-09-28 21:57:21 -04:00
joeycastillo
4804b0bb38
migrate countdown to Second Movement
2024-09-28 17:43:10 -04:00
joeycastillo
e8cedeac6c
rename enum, rearrange watch_tcc.h
2024-09-22 14:26:49 -04:00
joeycastillo
2e738db673
add buzzer volume control
2024-09-22 13:34:46 -04:00
joeycastillo
41ea9e8fc5
Revert "Support leading zero representation for 24h clock"
...
This reverts commit f633b7634b .
2024-09-18 23:34:02 -04:00
Jeremy O'Brien and GitHub
e8f31beb70
Smallchess face ( #272 )
...
* smallchess face
* use correct game-state modifying board move function
* make show last work after undo
* use SCL_Game->ply instead of board[ply_byte]
* beep when cpu is done computing a move
* increase engine strength to ply 3
* match ply type and use the local variable where available
* fix warnings
* add doc to smallchess face
* smallchess: fix compile warnings
* smallchess: move smallchesslib.h to movement/lib
2024-09-17 22:36:34 -04:00
joeycastillo
c2103d9eaa
silence warnings in butterfly_game_face
2024-09-17 22:27:43 -04:00
joeycastillo
88338dc0ba
silence warnings in wareki_face
2024-09-17 22:19:22 -04:00
Hugo Chargois and GitHub
e8ba597131
Add Butterfly game face ( #338 )
2024-09-17 22:04:00 -04:00
kbc-yam and GitHub
52c3d5b796
add wareki_face for japanese user ( #351 )
2024-09-17 22:00:44 -04:00
b2d313e0e7
Metronome Complication ( #303 )
...
* Metronome Complication
A simple metronome complication that allows user to set BPM, toggle sound, and set counts per measure.
* silence warnings in metronome_face
* avoid mode button in metronome settings, other tweaks
---------
Co-authored-by: joeycastillo <joeycastillo@utexas.edu >
2024-09-17 21:46:20 -04:00
jokomo24 and GitHub
0f5defe789
Face for tracking the menstrual cycle ( #250 )
...
Authored-by: jokomo <jokomo@parallels-ubuntu18.04 >
2024-09-17 20:55:50 -04:00
Matheus Afonso Martins Moreira
a9d503b807
Revert PR #470 - implement automatic DST toggling
...
The DST code has not yet been fully tested, the upcoming movement
refactor is upon us and it will integrate with the micro timezone
library anyway. Revert it so that next can be merged into main.
This reverts commit ac5bf8cfce , reversing
changes made to 5a8a49a8c7 .
2024-09-17 17:28:32 -03:00
Matheus Afonso Martins Moreira
683032219e
Revert PR #471 - add DST to sunrise/sunset
...
The DST code has not yet been fully tested, the upcoming movement
refactor is upon us and it will integrate with the micro timezone
library anyway. Revert it so that next can be merged into main.
This reverts commit 0cc28b9811 , reversing
changes made to 337864eb54 .
2024-09-17 17:02:16 -03:00
Matheus Afonso Martins Moreira
831aadddea
faces/alarm: use snprintf formats for 24h and 024h
...
This ensures that the display is always in a consistent state.
Reported-by: CarpeNoctem <cryptomax@pm.me >
GitHub-Issue: https://github.com/joeycastillo/Sensor-Watch/issues/476
2024-09-16 15:19:08 -03:00
Matheus Afonso Martins Moreira
5926e81d25
faces/alarm: fix 24h indication in 024h mode
...
The watch was not indicating to the user that it was in 24h mode
when set to the leading zero 024h time format. This could lead
to ambiguity and confusion, so make sure to indicate 24h mode.
Closes #476 .
Reported-by: CarpeNoctem <cryptomax@pm.me >
GitHub-Issue: https://github.com/joeycastillo/Sensor-Watch/issues/476
2024-09-16 14:42:43 -03:00
Matheus Afonso Martins Moreira
44b543421d
Merge PR #430 - improve tally face
...
Adds the ability to tally negative counts, tally quickly by holding down
the buttons as well as the ability to enable and cycle through multiple
preset initial values for numerous contexts such as card games.
Reviewed-by: Matheus Afonso Martins Moreira <matheus@matheusmoreira.com >
GitHub-Pull-Request: https://github.com/joeycastillo/Sensor-Watch/pull/430
2024-09-08 21:20:25 -03:00
David Volovskiy
9d1410780c
sunrise sunset fix during DST
2024-09-08 18:18:00 -04:00
David Volovskiy
0d16329574
Sunrise sunset face now warns about using DST
2024-09-08 18:13:17 -04:00
David Volovskiy
f6f427ca7d
Daylight offsets now references the timezone of the destination; but it does cause an issue due to DST
2024-09-08 18:13:17 -04:00
David Volovskiy
22c25f5c23
Added commented-out defines for MTG and Yugioh
2024-09-08 18:09:38 -04:00
David Volovskiy
a539bd7da7
Don't try to cycle through presets if the preset count is one
2024-09-08 18:03:16 -04:00
Matheus Afonso Martins Moreira
7a4424b2d4
faces/tally: convert size into compile time const
...
Creates a macro that returns the size of the presets array,
converting it into a compile time constant value that occupies
no memory and that compilers can constant fold into other expressions
potentially leading to dead code elimination.
2024-09-08 18:53:42 -03:00
Matheus Afonso Martins Moreira
e4e0b611f3
faces/tally: avoid resetting counters
...
Don't reset the counters unless there are multiple presets.
Move back to the first face directly if there are no presets
to cycle through.
2024-09-08 18:49:09 -03:00
Matheus Afonso Martins Moreira
6b7ea8bbaa
faces/tally: add yugioh life point presets
...
Add common Yu-Gi-Oh card game life point preset values
for the tally face, opt in by defining a preprocessor macro.
2024-09-08 18:39:55 -03:00
Matheus Afonso Martins Moreira
531bcfd285
faces/tally: make mtg presets optin via macros
...
Use preprocessor macros to conditionally compile in Magic the Gathering
initial value presets for the tally mark, thereby making them opt in.
2024-09-08 18:38:53 -03:00
David Volovskiy
137906e14a
Added more presets to the tally face
2024-09-08 17:23:53 -04:00
Matheus Afonso Martins Moreira
337864eb54
Merge PR #454 - fix activation event
...
Fix issue where the calculator face's user interface display
was delayed about a quarter second due to the activation event
being a no-op.
Tested-by: David Volovskiy <devolov@gmail.com >
Reported-by: David Volovskiy <devolov@gmail.com >
Fixed-by: David Volovskiy <devolov@gmail.com >
Reviewed-by: Matheus Afonso Martins Moreira <matheus@matheusmoreira.com >
GitHub-Pull-Request: https://github.com/joeycastillo/Sensor-Watch/pull/454
2024-09-08 15:33:35 -03:00
Matheus Afonso Martins Moreira
ac5bf8cfce
Merge PR #470 - implement automatic DST toggling
...
Implements logic to automatically offset daylight saving time settings
when calculating timezone offsets. This should make the DST functions
work automatically with no need for user input in most cases.
Reviewed-by: Matheus Afonso Martins Moreira <matheus@matheusmoreira.com >
GitHub-Pull-Request: https://github.com/joeycastillo/Sensor-Watch/pull/470
2024-09-08 13:41:52 -03:00
mcguirepr89
608199268e
removed break; from EVENT_ACTIVATE -- thanks @voloved
2024-09-08 11:49:01 -04:00
David Volovskiy
c02ec307ff
Tally face sound now uses the preference's beep so decrementing fast can happen immedietly
2024-09-08 11:44:01 -04:00
David Volovskiy
002f5bc242
Updated the tally couter face to allow for presets, negative numbers, fast scrolling, and toggling sound
2024-09-08 11:39:48 -04:00
Matheus Afonso Martins Moreira
941a6ec523
Merge PR #454 - add simple calculator watch face
...
Adds a simple calculator watch face to the sensor watch
capable of addition, subtraction, multiplication, division
and exponentiation.
Reviewed-by: Joey Castillo <joeycastillo@utexas.edu >
Reviewed-by: Matheus Afonso Martins Moreira <matheus@matheusmoreira.com >
Tested-by: Joey Castillo <joeycastillo@utexas.edu >
Tested-on-hardware-by: mcguirepr89 <mcguirepr89@gmail.com >
GitHub-Pull-Request: https://github.com/joeycastillo/Sensor-Watch/pull/454
2024-09-07 20:38:08 -03:00
Matheus Afonso Martins Moreira
b9dbc4ed21
Merge PR #398 - add simon game watch face
...
Adds a watch face that allows playing the classic Simon game
with the watch's buzzer and RGB LED.
Reviewed-by: Matheus Afonso Martins Moreira <matheus@matheusmoreira.com >
GitHub-Pull-Request: https://github.com/joeycastillo/Sensor-Watch/pull/398
2024-09-07 20:28:45 -03:00
Matheus Afonso Martins Moreira
ce249abde6
Merge PR #259 - add higher or lower game face
...
Adds a watch face that implements a game where the player
must guess if the next card will be higher or lower than
the last cards that have been revealed.
Reviewed-by: Matheus Afonso Martins Moreira <matheus@matheusmoreira.com >
Tested-on-hardware-by: Chris <chris.ellis.git.dev@gmail.com >
GitHub-Pull-Request: https://github.com/joeycastillo/Sensor-Watch/pull/259
2024-09-07 19:59:52 -03:00