]>
git.earman.xyz Git - sensor-watch.git/log
Matheus Afonso Martins Moreira [Sun, 8 Sep 2024 18:22:50 +0000 (15:22 -0300)]
Merge PR #468 - fix github ci
Bump GitHub's checkout action to v4, fixing the continuous integration.
GitHub-Pull-Request: https://github.com/joeycastillo/Sensor-Watch/pull/468
Matheus Afonso Martins Moreira [Sun, 8 Sep 2024 17:22:26 +0000 (14:22 -0300)]
make: fix missing separator error
Matheus Afonso Martins Moreira [Sun, 8 Sep 2024 16:41:52 +0000 (13:41 -0300)]
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
David Volovskiy [Sun, 8 Sep 2024 14:50:09 +0000 (10:50 -0400)]
Minot cleanup
Matheus Afonso Martins Moreira [Sun, 8 Sep 2024 14:09:10 +0000 (11:09 -0300)]
Merge PR #268 - add daylight savings time toggle
Adds a toggle in the preferences face that allows the user
to enable or disable the daylight savings time.
Should help produce the correct results with the sunrise/sunset presets.
A proper solution would be to integrate the tzinfo database
but it's too big for the watch at the time of this writing.
Can't be done unless it can be shrunk down into a subset
the user would be interested. Even then it's a stopgap
since the database is likely to keep growing over time.
Reviewed-by: Matheus Afonso Martins Moreira <matheus@matheusmoreira.com>
GitHub-Pull-Request: https://github.com/joeycastillo/Sensor-Watch/pull/268
R. Alex Barbieri [Sat, 27 Apr 2024 18:33:32 +0000 (13:33 -0500)]
add blinking to DST toggle in settings page
Matheus Afonso Martins Moreira [Sat, 7 Sep 2024 23:57:24 +0000 (20:57 -0300)]
Merge PR #401 - add fuzzy time watch face
Displays the time in a "close enough" manner:
periods of five minutes, relative to the nearest hour.
For example:
- 3:24 -> 25 past 3
- 3:50 -> 10 to 4
- 3:59 -> 4 o'clock
- 1:35 -> 35 past 1
- 1:50 -> 10 to 2
- 2:00 -> 2 o'clock
Reviewed-by: Matheus Afonso Martins Moreira <matheus@matheusmoreira.com>
Tested-on-hardware-by: Ruben Nic <RubenSandwich@users.noreply.github.com>
Tested-on-hardware-by: KlingonJane <148595159+KlingonJane@users.noreply.github.com>
GitHub-Pull-Request: https://github.com/joeycastillo/Sensor-Watch/pull/401
Matheus Afonso Martins Moreira [Sat, 7 Sep 2024 23:53:08 +0000 (20:53 -0300)]
Merge PR #386 - add beep demo face
Allows the user manually trigger all 87 buzzer notes.
Reviewed-by: Matheus Afonso Martins Moreira <matheus@matheusmoreira.com>
Tested-on-hardware-by: Wesley Black <hello@wesleyblack.ca>
GitHub-Pull-Request: https://github.com/joeycastillo/Sensor-Watch/pull/386
Matheus Afonso Martins Moreira [Sat, 7 Sep 2024 23:49:19 +0000 (20:49 -0300)]
Merge PR #413 - add thermometer face
Measures the temperature until it stabilizes for half a minute.
This watch face is not meant to diagnose, treat, cure or prevent
any disease.
Reviewed-by: Matheus Afonso Martins Moreira <matheus@matheusmoreira.com>
GitHub-Pull-Request: https://github.com/joeycastillo/Sensor-Watch/pull/413
Matheus Afonso Martins Moreira [Sat, 7 Sep 2024 23:38:08 +0000 (20:38 -0300)]
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
Matheus Afonso Martins Moreira [Sat, 7 Sep 2024 23:31:46 +0000 (20:31 -0300)]
Merge PR #394 - keep LED lit while buttons held
Keeps the LED turned on while the user is interacting with the watch.
Reviewed-by: Matheus Afonso Martins Moreira <matheus@matheusmoreira.com>
GitHub-Pull-Request: https://github.com/joeycastillo/Sensor-Watch/pull/394
Matheus Afonso Martins Moreira [Sat, 7 Sep 2024 23:28:45 +0000 (20:28 -0300)]
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
Matheus Afonso Martins Moreira [Sat, 7 Sep 2024 23:14:26 +0000 (20:14 -0300)]
Merge PR #287 - add minimal clock face
Add a minimalist clock face that shows only hours and minutes.
Reviewed-by: Matheus Afonso Martins Moreira <matheus@matheusmoreira.com>
GitHub-Pull-Request: https://github.com/joeycastillo/Sensor-Watch/pull/287
Matheus Afonso Martins Moreira [Sat, 7 Sep 2024 22:37:43 +0000 (19:37 -0300)]
Merge PR #269 - add french revolutionary time face
Adds a french revolutionary time watch face which displays the time
divided into ten hours of one hundred minutes each which are in turn
divided into one hundred seconds each.
Reviewed-by: Matheus Afonso Martins Moreira <matheus@matheusmoreira.com>
Reviewed-by: Wesley Aptekar-Cassels <me@wesleyac.com>
Reviewed-by: Alex Maestas <git@se30.xyz>
Tested-on-hardware-by: CarpeNoctem <cryptomax@pm.me>
GitHub-Pull-Request: https://github.com/joeycastillo/Sensor-Watch/pull/269
Matheus Afonso Martins Moreira [Sat, 7 Sep 2024 20:34:21 +0000 (17:34 -0300)]
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
Matheus Afonso Martins Moreira [Sat, 7 Sep 2024 20:21:10 +0000 (17:21 -0300)]
Merge PR #266 - add deadline tracking watch face
Adds a timing watch face that focuses on
keeping track of specific deadlines.
Dates and times can be set on the watch face
and it will display the time remaining at ever
decreasing levels of granularity for the sake
of brevity and ease of understanding.
For example, it will display years and months if over a year is left,
months and days if less than one year is left,
days and hours if less than one month is left
and the full remaining time if less than a day is left.
It also notifies the user when a deadline has passed recently.
Reviewed-by: Matheus Afonso Martins Moreira <matheus@matheusmoreira.com>
Tested-on-hardware-by: Konrad Rieck <konrad@mlsec.org>
GitHub-Pull-Request: https://github.com/joeycastillo/Sensor-Watch/pull/266
Chris [Sun, 1 Sep 2024 18:30:31 +0000 (19:30 +0100)]
Hi-lo: Additional code tweaks
Konrad Rieck [Sat, 9 Mar 2024 22:50:47 +0000 (23:50 +0100)]
move to deadline face on alarm
Chris [Sun, 1 Sep 2024 18:33:33 +0000 (19:33 +0100)]
Merge pull request #1 from voloved/higher-lower-game
Hi-lo: Made cards go through a deck format.
Konrad Rieck [Sat, 9 Mar 2024 19:48:42 +0000 (20:48 +0100)]
Alarm handled using background task.
The alarm for deadlines is now handled via a background task. Instead of a scheduled task that prevents sleep mode, the face checks in the background every minute whether an deadline is due. If this is the case, the face wakes up from sleep mode and starts a scheduled task for the remaining seconds.
Chris [Sat, 29 Jul 2023 16:44:54 +0000 (17:44 +0100)]
Hi-lo: Use alternate card faces
David Volovskiy [Fri, 9 Aug 2024 02:45:07 +0000 (22:45 -0400)]
Made cards go through a deck format.
Konrad Rieck [Fri, 8 Mar 2024 13:50:32 +0000 (14:50 +0100)]
Fixed bugs and improved watchface
- A background task is only scheduled if the alarm option is activated. If the option is enabled, an alarm sounds when the next deadline is reached. If the option is disabled, no alarm sounds and the watch can enter low energy sleep.
- Fixed tick frequency error. During running mode, the clock ticks at 1Hz. This is set in the init function `_running_init` and thus ensures that we do not run too fast when returning from the setting mode.
- Minor corrections to comments and indentations.
Konrad Rieck [Sat, 2 Mar 2024 20:17:37 +0000 (21:17 +0100)]
removed higher frequency in first loop run.
Konrad Rieck [Sat, 2 Mar 2024 20:11:17 +0000 (21:11 +0100)]
moved tick_freq to deadline_state_t structure.
Konrad Rieck [Sat, 9 Sep 2023 14:35:30 +0000 (16:35 +0200)]
beep on button
Konrad Rieck [Sat, 9 Sep 2023 14:26:11 +0000 (16:26 +0200)]
support for alarm
Konrad Rieck [Sat, 9 Sep 2023 13:40:57 +0000 (15:40 +0200)]
display closest deadline on activation
CarpeNoctem [Wed, 17 Jan 2024 11:47:16 +0000 (22:47 +1100)]
french_revolutionary face: fix compiler warning and uninitialized date_time variable
Matheus Afonso Martins Moreira [Sat, 7 Sep 2024 20:12:24 +0000 (17:12 -0300)]
Merge PR #423 - add periodic table face
Adds a watch face full of useful information
about every known chemical element.
Reviewed-by: Matheus Afonso Martins Moreira <matheus@matheusmoreira.com>
Tested-on-hardware-by: PrimmR <primmr@icloud.com>
Tested-on-hardware-by: David Volovskiy <devolov@gmail.com>
GitHub-Pull-Request: https://github.com/joeycastillo/Sensor-Watch/pull/423
Matheus Afonso Martins Moreira [Sat, 7 Sep 2024 19:52:29 +0000 (16:52 -0300)]
Merge PR #444 - implement countdown autorepeater
Adds the ability to automatically restart the timer
in the countdown watch face. This allows users to
easily time repeating events.
Reviewed-by: Matheus Afonso Martins Moreira <matheus@matheusmoreira.com>
GitHub-Pull-Request: https://github.com/joeycastillo/Sensor-Watch/pull/444
Joseph Bryant [Sat, 24 Aug 2024 11:02:50 +0000 (12:02 +0100)]
Add auto-repeat feature to Countdown watch face
Matheus Afonso Martins Moreira [Sat, 7 Sep 2024 19:43:00 +0000 (16:43 -0300)]
Merge PR #465 - add metal gear solid codec chime
Snake? Snake?! SNAAAAAAAAAAAAAAAAAAAAAAKE!
Reviewed-by: Matheus Afonso Martins Moreira <matheus@matheusmoreira.com>
GitHub-Pull-Request: https://github.com/joeycastillo/Sensor-Watch/pull/465
Jeremy O'Brien [Wed, 4 Sep 2024 01:43:25 +0000 (21:43 -0400)]
add metal gear solid codec tune
Matheus Afonso Martins Moreira [Sat, 7 Sep 2024 19:26:10 +0000 (16:26 -0300)]
Merge PR #467 - add harry potter chimes
Add Harry Potter themed hourly signal chimes, short and long variants.
Reviewed-by: Matheus Afonso Martins Moreira <matheus@matheusmoreira.com>
GitHub-Pull-Request: https://github.com/joeycastillo/Sensor-Watch/pull/467
mcguirepr89 [Fri, 6 Sep 2024 14:19:17 +0000 (10:19 -0400)]
slightly shorter first note
Alex Maestas [Wed, 4 Sep 2024 20:10:37 +0000 (20:10 +0000)]
bump to the newer upload-artifact github action
mcguirepr89 [Wed, 4 Sep 2024 15:46:33 +0000 (11:46 -0400)]
adds a short and long harry potter signal
Matheus Afonso Martins Moreira [Tue, 3 Sep 2024 22:02:21 +0000 (19:02 -0300)]
Merge PR #293 - add instant LED duration
Adds an instant LED duration preference that only keeps the LED lit
while the LIGHT button remains held down.
Matches the behavior of the original watch.
Reviewed-by: Matheus Afonso Martins Moreira <matheus@matheusmoreira.com>
Tested-on-hardware-by: Wesley Aptekar-Cassels <me@wesleyac.com>
Tested-on-hardware-by: 814d3 (GitHub)
GitHub-Pull-Request: https://github.com/joeycastillo/Sensor-Watch/pull/293
Matheus Afonso Martins Moreira [Tue, 3 Sep 2024 21:28:18 +0000 (18:28 -0300)]
Merge PR #419 - add endless runner watch face
Adds an endless runner game face to the Sensor Watch.
The player character runs endlessly towards the right.
An endless number of obstacles speed towards him.
The player must jump over them or lose the game
when the player character runs smack into the obstacle.
Jumping requires fuel which is a limited resource
that must be managed by the player.
Features selectable difficulties and high score tracking.
Reviewed-by: Matheus Afonso Martins Moreira <matheus@matheusmoreira.com>
GitHub-Pull-Request: https://github.com/joeycastillo/Sensor-Watch/pull/419
Matheus Afonso Martins Moreira [Tue, 3 Sep 2024 20:22:41 +0000 (17:22 -0300)]
Merge PR #436 - add wordle watch face
Ports the famous Wordle game to the Sensor Watch.
A random 5 letter word is chosen and the player must guess it
without exceeding the configured maximum number of attempts.
Letters guessed correctly will stay in place.
Letters present in the word but in the wrong place will blink.
Streak tracking is supported and compile time configurable.
A Python script which finds an optimal dictionary is also included
and can be used to further customize the watch face.
Reviewed-by: Matheus Afonso Martins Moreira <matheus@matheusmoreira.com>
GitHub-Pull-Request: https://github.com/joeycastillo/Sensor-Watch/pull/436
Matheus Afonso Martins Moreira [Tue, 3 Sep 2024 21:49:13 +0000 (18:49 -0300)]
Merge PR #299 - leading zero representation
Adds a movement-wide leading zero 024h representation mode
that's toggleable in the preferences watch face.
Also adds support for the new display mode to existing faces.
I modified the logic a bit to ensure the 24h indicator remains lit
in the simple clock face even when in 024h mode. I also added support
to the more advanced clock face. In the future I will add a compile time
toggle to it as well.
Reviewed-by: Matheus Afonso Martins Moreira <matheus@matheusmoreira.com>
GitHub-Pull-Request: https://github.com/joeycastillo/Sensor-Watch/pull/299
David Volovskiy [Tue, 3 Sep 2024 21:13:59 +0000 (17:13 -0400)]
Reduced struct memory per code review
David Volovskiy [Tue, 3 Sep 2024 21:09:52 +0000 (17:09 -0400)]
Include ability to select only the best words as the first choice
David Volovskiy [Tue, 3 Sep 2024 20:25:05 +0000 (16:25 -0400)]
got rid of hardcoding of half-second zero blink
David Volovskiy [Tue, 27 Aug 2024 17:09:44 +0000 (13:09 -0400)]
Changed U LOSE to LOSE
David Volovskiy [Fri, 26 Jul 2024 10:10:26 +0000 (06:10 -0400)]
bug fix on displaying time in LE mode
David Volovskiy [Thu, 25 Jul 2024 01:12:17 +0000 (21:12 -0400)]
LE mode in the endless runner now displays the current time.
David Volovskiy [Thu, 25 Jul 2024 01:08:35 +0000 (21:08 -0400)]
Added second fuel mode where we don't recharge the fuel if it hits zero.
David Volovskiy [Thu, 25 Jul 2024 01:03:54 +0000 (21:03 -0400)]
Added fuel mode
David Volovskiy [Wed, 24 Jul 2024 03:31:13 +0000 (23:31 -0400)]
Changed hi score number offset and refactored some code
David Volovskiy [Tue, 23 Jul 2024 21:52:50 +0000 (17:52 -0400)]
Added author in header
David Volovskiy [Sat, 20 Jul 2024 13:43:49 +0000 (09:43 -0400)]
Refectored the state machine
David Volovskiy [Sat, 20 Jul 2024 11:48:50 +0000 (07:48 -0400)]
Modified hi score display to allow for 3 digits in hi-score, it now resets at the beginning of each month
David Volovskiy [Sat, 20 Jul 2024 10:46:08 +0000 (06:46 -0400)]
hi score resets weekly
David Volovskiy [Fri, 19 Jul 2024 12:43:15 +0000 (08:43 -0400)]
Reformat to remove some hardocded variables
David Volovskiy [Wed, 17 Jul 2024 21:05:48 +0000 (17:05 -0400)]
Added baby mode which used to be easy mode; easy mode is now same speed as normal, but 3 frames to jump and normal is 2 frames.
David Volovskiy [Wed, 17 Jul 2024 02:35:07 +0000 (22:35 -0400)]
Gave an extra jumping frame for non-hard mode; Curr scroll now loops; Title changed to ER
David Volovskiy [Tue, 16 Jul 2024 13:29:19 +0000 (09:29 -0400)]
Fixed the long delays when beginning a game
David Volovskiy [Tue, 16 Jul 2024 12:51:45 +0000 (08:51 -0400)]
Removed the binary print debug function
David Volovskiy [Tue, 16 Jul 2024 12:50:11 +0000 (08:50 -0400)]
Added endless-runner face
David Volovskiy [Tue, 3 Sep 2024 14:15:48 +0000 (10:15 -0400)]
Added ability to find best starting word
David Volovskiy [Thu, 29 Aug 2024 01:38:09 +0000 (21:38 -0400)]
hard mode btn changed; logic changed on daily streak so if puzzle wasn't started and completed the previous day, then drop the streak
David Volovskiy [Tue, 27 Aug 2024 17:08:13 +0000 (13:08 -0400)]
Streak face fix
David Volovskiy [Tue, 27 Aug 2024 16:31:22 +0000 (12:31 -0400)]
WORDLE_USE_DAILY_STREAK logic changed
David Volovskiy [Tue, 27 Aug 2024 16:08:24 +0000 (12:08 -0400)]
Wordle game resets after 24hrs of not playing when not using daily streak
David Volovskiy [Tue, 27 Aug 2024 02:24:33 +0000 (22:24 -0400)]
Reset streak if don't continue
David Volovskiy [Tue, 27 Aug 2024 01:10:00 +0000 (21:10 -0400)]
Changed the lap to hard mode; fixed the ignore used letters
David Volovskiy [Mon, 26 Aug 2024 23:52:15 +0000 (19:52 -0400)]
Revert "LAP indicator now dispalys on all screens"
This reverts commit
3bfa336b4d609668f6d8c71164f8f579f41240a5 .
David Volovskiy [Sun, 25 Aug 2024 16:38:08 +0000 (12:38 -0400)]
Documentation fix
David Volovskiy [Sun, 25 Aug 2024 16:36:04 +0000 (12:36 -0400)]
Added explanation on LAP icon
David Volovskiy [Sun, 25 Aug 2024 16:23:35 +0000 (12:23 -0400)]
LAP indicator now dispalys on all screens
David Volovskiy [Sun, 25 Aug 2024 16:18:27 +0000 (12:18 -0400)]
skip_wrong_letter is now a toggle
David Volovskiy [Sun, 25 Aug 2024 14:35:58 +0000 (10:35 -0400)]
Changed variable names for dictionary header
David Volovskiy [Sun, 25 Aug 2024 14:12:08 +0000 (10:12 -0400)]
Name change in python script
David Volovskiy [Sun, 25 Aug 2024 14:03:38 +0000 (10:03 -0400)]
Made skipping a wrong letters a #define
David Volovskiy [Sun, 25 Aug 2024 13:59:04 +0000 (09:59 -0400)]
Changed size of word lists from const int to #define to avoid folding constant array error
David Volovskiy [Sun, 25 Aug 2024 13:51:08 +0000 (09:51 -0400)]
Added ability to skip already guessed letters that are wrong
David Volovskiy [Sun, 25 Aug 2024 11:15:08 +0000 (07:15 -0400)]
Added ability to guess non-dict words and repeats as that can save 11.5KB of watch memory
David Volovskiy [Sun, 25 Aug 2024 10:50:00 +0000 (06:50 -0400)]
the dict of words to its own header
David Volovskiy [Sat, 24 Aug 2024 14:36:38 +0000 (10:36 -0400)]
Readding comment showing count of possible words.
David Volovskiy [Fri, 23 Aug 2024 20:48:09 +0000 (16:48 -0400)]
Added ability to use T in Wordle
David Volovskiy [Fri, 23 Aug 2024 20:39:53 +0000 (16:39 -0400)]
modified Wordle list to use Wordle's own list and add 2 more letters
David Volovskiy [Mon, 19 Aug 2024 04:13:18 +0000 (00:13 -0400)]
Bugfix on elements not resetting when winning or losing
David Volovskiy [Mon, 19 Aug 2024 03:58:39 +0000 (23:58 -0400)]
JOB to JOb
David Volovskiy [Mon, 19 Aug 2024 03:55:54 +0000 (23:55 -0400)]
Fixed the bug of the text not resetting after a timeout
David Volovskiy [Mon, 19 Aug 2024 03:10:17 +0000 (23:10 -0400)]
Fix on playing with daily streak
David Volovskiy [Mon, 19 Aug 2024 02:52:10 +0000 (22:52 -0400)]
Better handling of seeing if currently playing
David Volovskiy [Mon, 19 Aug 2024 02:33:03 +0000 (22:33 -0400)]
Got rid of continue's blinking
David Volovskiy [Mon, 19 Aug 2024 02:30:41 +0000 (22:30 -0400)]
Continue test now blinks
David Volovskiy [Sun, 18 Aug 2024 22:33:38 +0000 (18:33 -0400)]
Added continue screen
David Volovskiy [Sun, 18 Aug 2024 14:46:33 +0000 (10:46 -0400)]
Added SONIC and LASER to the allowed words
David Volovskiy [Sun, 18 Aug 2024 14:35:36 +0000 (10:35 -0400)]
Fixed leaving the screen and coming back
David Volovskiy [Sat, 17 Aug 2024 23:36:19 +0000 (19:36 -0400)]
combined two areas of code into one function
David Volovskiy [Sat, 17 Aug 2024 17:22:03 +0000 (13:22 -0400)]
Don't delete the submitted characters if already guessed or not in dict
David Volovskiy [Sat, 17 Aug 2024 16:35:48 +0000 (12:35 -0400)]
Swapped the Nice and Job so the Nice text is more likely to appear first.
David Volovskiy [Sat, 17 Aug 2024 15:52:42 +0000 (11:52 -0400)]
Removed wordle from movmeent face after testing
David Volovskiy [Sat, 17 Aug 2024 15:50:07 +0000 (11:50 -0400)]
USE_RANDOM_GUESS variable added
David Volovskiy [Sat, 17 Aug 2024 15:36:35 +0000 (11:36 -0400)]
Gave the wordle face the ability to give random guesses on the first word
David Volovskiy [Sat, 17 Aug 2024 13:49:48 +0000 (09:49 -0400)]
bug fix on max score