]> git.earman.xyz Git - sensor-watch.git/log
sensor-watch.git
22 months agofaces/clock: clear segments if not in 024h mode
Matheus Afonso Martins Moreira [Mon, 16 Sep 2024 18:34:19 +0000 (15:34 -0300)]
faces/clock: clear segments if not in 024h mode

There was an issue where the clock's display would remain in 024h mode
even after switching back to 12h/24h mode because it only took into
account the leading zero bit, whose value is meaningless unless the
24h mode bit is also set.

The issue is fixed by taking both bits into account.

Closes #476.

Reported-by: CarpeNoctem <cryptomax@pm.me>
GitHub-Issue: https://github.com/joeycastillo/Sensor-Watch/issues/476

22 months agofaces/simple_clock: clear segments if not in 024h
Matheus Afonso Martins Moreira [Mon, 16 Sep 2024 17:50:42 +0000 (14:50 -0300)]
faces/simple_clock: clear segments if not in 024h

There was an issue where the simple clock's display would remain in
024h mode even after switching back to 12h/24h mode because it only
took into account the leading zero bit, whose value is meaningless
unless the 24h mode bit is also set.

The issue is fixed by taking both bits into account.

Closes #476.

Reported-by: CarpeNoctem <cryptomax@pm.me>
GitHub-Issue: https://github.com/joeycastillo/Sensor-Watch/issues/476

22 months agofaces/alarm: use snprintf formats for 24h and 024h
Matheus Afonso Martins Moreira [Mon, 16 Sep 2024 17:46:06 +0000 (14:46 -0300)]
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

22 months agofaces/alarm: fix 24h indication in 024h mode
Matheus Afonso Martins Moreira [Mon, 16 Sep 2024 17:42:43 +0000 (14:42 -0300)]
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

22 months agoRevert merge of PR #437 - debouncing logic
Matheus Afonso Martins Moreira [Mon, 16 Sep 2024 00:00:22 +0000 (21:00 -0300)]
Revert merge of PR #437 - debouncing logic

This reverts commit a715265af61ecab41eaefe0c5a7e7c806d0db41b, reversing
changes made to 9c093f954084e61614cba1c259e4581a87420813.

Insidious issues were found in the course of long term testing
by the community, and further reviews of the code were not enough
to pinpoint the issue and fix it. So for now the appropriate action
is to revert these changes while development continues, and possibly
merge them back in once they have been stabilized.

Tested-on-hardware-by: David Volovskiy <devolov@gmail.com>
Tested-on-hardware-by: CarpeNoctem <cryptomax@pm.me>
Tested-on-hardware-by: Krzysztof Gałka <@kshysztof@Discord>
22 months agoMerge PR #470 - fixes world_clock2 face
Matheus Afonso Martins Moreira [Sun, 15 Sep 2024 23:45:33 +0000 (20:45 -0300)]
Merge PR #470 - fixes world_clock2 face

The new DST changes caused problems in one specific face - world_clock2.
An incorrect variable was used due to a confusing name.
It has been revised to fix the problems that were caused.

Closes #475.

Reported-by: CarpeNoctem <cryptomax@pm.me>
Fixed-by: David Volovskiy <devolov@gmail.com>
Tested-by: CarpeNoctem <cryptomax@pm.me>
Tested-on-hardware-by: CarpeNoctem <cryptomax@pm.me>
GitHub-Pull-Request: https://github.com/joeycastillo/Sensor-Watch/pull/470
GitHub-Issue: https://github.com/joeycastillo/Sensor-Watch/issues/475

22 months agoFixed the tz that the world clock references
David Volovskiy [Sun, 15 Sep 2024 23:13:38 +0000 (19:13 -0400)]
Fixed the tz that the world clock references

23 months agoRevert PR #387 - fixes LE state restoration
Matheus Afonso Martins Moreira [Tue, 10 Sep 2024 15:10:48 +0000 (12:10 -0300)]
Revert PR #387 - fixes LE state restoration

This commit caused state restored from backup registers
to be overwritten. It is thereby reverted until a better
solution is found or movement is refactored.

This reverts commit 524098b9258232964d7756d4d44f16b006d340bf.

Reviewed-by: Matheus Afonso Martins Moreira <matheus@matheusmoreira.com>
References: https://github.com/joeycastillo/Sensor-Watch/pull/474

23 months agomake: add beeps face to build
Matheus Afonso Martins Moreira [Tue, 10 Sep 2024 02:59:44 +0000 (23:59 -0300)]
make: add beeps face to build

PR #386 did not add the C file to the makefile,
causing the build to fail at the link stage
due to the missing object file and the symbols
that were supposed to be provided by it.

Adding the file to the build fixes #472.

Reported-by: CarpeNoctem <cryptomax@pm.me>
Fixed-by: CarpeNoctem <cryptomax@pm.me>
Reviewed-by: Matheus Afonso Martins Moreira <matheus@matheusmoreira.com>
GitHub-Issue: https://github.com/joeycastillo/Sensor-Watch/issues/472

23 months agoMerge PR #430 - improve tally face
Matheus Afonso Martins Moreira [Mon, 9 Sep 2024 00:20:25 +0000 (21:20 -0300)]
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

23 months agoMerge PR #471 - add DST to sunrise/sunset presets
Matheus Afonso Martins Moreira [Mon, 9 Sep 2024 00:12:24 +0000 (21:12 -0300)]
Merge PR #471 - add DST to sunrise/sunset presets

Implements automatic DST data to the sunrise/sunset presets,
making the whole system more automatic and therefore more reliable.

Reviewed-by: Matheus Afonso Martins Moreira <matheus@matheusmoreira.com>
GitHub-Pull-Request: https://github.com/joeycastillo/Sensor-Watch/pull/471

23 months agosunrise sunset fix during DST
David Volovskiy [Sun, 8 Sep 2024 14:37:36 +0000 (10:37 -0400)]
sunrise sunset fix during DST

23 months agoSunrise sunset face now warns about using DST
David Volovskiy [Sun, 8 Sep 2024 13:03:43 +0000 (09:03 -0400)]
Sunrise sunset face now warns about using DST

23 months agoDaylight offsets now references the timezone of the destination; but it does cause...
David Volovskiy [Sun, 8 Sep 2024 11:07:44 +0000 (07:07 -0400)]
Daylight offsets now references the timezone of the destination; but it does cause an issue due to DST

23 months agoAdded commented-out defines for MTG and Yugioh
David Volovskiy [Sun, 8 Sep 2024 22:09:38 +0000 (18:09 -0400)]
Added commented-out defines for MTG and Yugioh

23 months agoDon't try to cycle through presets if the preset count is one
David Volovskiy [Sun, 8 Sep 2024 22:03:16 +0000 (18:03 -0400)]
Don't try to cycle through presets if the preset count is one

23 months agofaces/tally: convert size into compile time const
Matheus Afonso Martins Moreira [Sun, 8 Sep 2024 21:53:42 +0000 (18:53 -0300)]
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.

23 months agofaces/tally: avoid resetting counters
Matheus Afonso Martins Moreira [Sun, 8 Sep 2024 21:49:09 +0000 (18:49 -0300)]
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.

23 months agofaces/tally: add yugioh life point presets
Matheus Afonso Martins Moreira [Sun, 8 Sep 2024 21:39:55 +0000 (18:39 -0300)]
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.

23 months agofaces/tally: make mtg presets optin via macros
Matheus Afonso Martins Moreira [Sun, 8 Sep 2024 21:38:53 +0000 (18:38 -0300)]
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.

23 months agoAdded more presets to the tally face
David Volovskiy [Sun, 8 Sep 2024 21:23:53 +0000 (17:23 -0400)]
Added more presets to the tally face

23 months agoMerge PR #454 - fix activation event
Matheus Afonso Martins Moreira [Sun, 8 Sep 2024 18:33:35 +0000 (15:33 -0300)]
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

23 months agoMerge PR #468 - fix github ci
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

23 months agomake: fix missing separator error
Matheus Afonso Martins Moreira [Sun, 8 Sep 2024 17:22:26 +0000 (14:22 -0300)]
make: fix missing separator error

23 months agoMerge PR #470 - implement automatic DST toggling
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

23 months agoremoved break; from EVENT_ACTIVATE -- thanks @voloved
mcguirepr89 [Sun, 8 Sep 2024 15:49:01 +0000 (11:49 -0400)]
removed break; from EVENT_ACTIVATE -- thanks @voloved

23 months agoTally face sound now uses the preference's beep so decrementing fast can happen immed...
David Volovskiy [Sun, 8 Sep 2024 15:44:01 +0000 (11:44 -0400)]
Tally face sound now uses the preference's beep so decrementing fast can happen immedietly

23 months agoUpdated the tally couter face to allow for presets, negative numbers, fast scrolling...
David Volovskiy [Tue, 6 Aug 2024 11:05:19 +0000 (07:05 -0400)]
Updated the tally couter face to allow for presets, negative numbers, fast scrolling, and toggling sound

23 months agoMinot cleanup
David Volovskiy [Sun, 8 Sep 2024 14:50:09 +0000 (10:50 -0400)]
Minot cleanup

23 months agoMerge PR #268 - add daylight savings time toggle
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

23 months agoadd blinking to DST toggle in settings page
R. Alex Barbieri [Sat, 27 Apr 2024 18:33:32 +0000 (13:33 -0500)]
add blinking to DST toggle in settings page

23 months agoMerge PR #401 - add fuzzy time watch face
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

23 months agoMerge PR #386 - add beep demo face
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

23 months agoMerge PR #413 - add thermometer face
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

23 months agoMerge PR #454 - add simple calculator watch face
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

23 months agoMerge PR #394 - keep LED lit while buttons held
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

23 months agoMerge PR #398 - add simon game watch face
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

23 months agoMerge PR #287 - add minimal clock face
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

23 months agoMerge PR #269 - add french revolutionary time face
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

23 months agoMerge PR #259 - add higher or lower game face
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

23 months agoMerge PR #266 - add deadline tracking watch face
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

23 months agoHi-lo: Additional code tweaks
Chris [Sun, 1 Sep 2024 18:30:31 +0000 (19:30 +0100)]
Hi-lo: Additional code tweaks

23 months agomove to deadline face on alarm
Konrad Rieck [Sat, 9 Mar 2024 22:50:47 +0000 (23:50 +0100)]
move to deadline face on alarm

23 months agoMerge pull request #1 from voloved/higher-lower-game
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.

23 months agoAlarm handled using background task.
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.

23 months agoHi-lo: Use alternate card faces
Chris [Sat, 29 Jul 2023 16:44:54 +0000 (17:44 +0100)]
Hi-lo: Use alternate card faces

23 months agoMade cards go through a deck format.
David Volovskiy [Fri, 9 Aug 2024 02:45:07 +0000 (22:45 -0400)]
Made cards go through a deck format.

23 months agoFixed bugs and improved watchface
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.

23 months agoremoved higher frequency in first loop run.
Konrad Rieck [Sat, 2 Mar 2024 20:17:37 +0000 (21:17 +0100)]
removed higher frequency in first loop run.

23 months agomoved tick_freq to deadline_state_t structure.
Konrad Rieck [Sat, 2 Mar 2024 20:11:17 +0000 (21:11 +0100)]
moved tick_freq to deadline_state_t structure.

23 months agobeep on button
Konrad Rieck [Sat, 9 Sep 2023 14:35:30 +0000 (16:35 +0200)]
beep on button

23 months agosupport for alarm
Konrad Rieck [Sat, 9 Sep 2023 14:26:11 +0000 (16:26 +0200)]
support for alarm

23 months agodisplay closest deadline on activation
Konrad Rieck [Sat, 9 Sep 2023 13:40:57 +0000 (15:40 +0200)]
display closest deadline on activation

23 months agofrench_revolutionary face: fix compiler warning and uninitialized date_time variable
CarpeNoctem [Wed, 17 Jan 2024 11:47:16 +0000 (22:47 +1100)]
french_revolutionary face: fix compiler warning and uninitialized date_time variable

23 months agoMerge PR #423 - add periodic table face
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

23 months agoMerge PR #444 - implement countdown autorepeater
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

23 months agoAdd auto-repeat feature to Countdown watch face
Joseph Bryant [Sat, 24 Aug 2024 11:02:50 +0000 (12:02 +0100)]
Add auto-repeat feature to Countdown watch face

23 months agoMerge PR #465 - add metal gear solid codec chime
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

23 months agoadd metal gear solid codec tune
Jeremy O'Brien [Wed, 4 Sep 2024 01:43:25 +0000 (21:43 -0400)]
add metal gear solid codec tune

23 months agoMerge PR #467 - add harry potter chimes
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

23 months agoslightly shorter first note
mcguirepr89 [Fri, 6 Sep 2024 14:19:17 +0000 (10:19 -0400)]
slightly shorter first note

23 months agoMerge pull request #468 from theAlexes/theAlexes/ci-fix
atax1a [Wed, 4 Sep 2024 20:22:26 +0000 (20:22 +0000)]
Merge pull request #468 from theAlexes/theAlexes/ci-fix

bump to the newer upload-artifact github action

23 months agobump to the newer upload-artifact github action
Alex Maestas [Wed, 4 Sep 2024 20:10:37 +0000 (20:10 +0000)]
bump to the newer upload-artifact github action

23 months agoadds a short and long harry potter signal
mcguirepr89 [Wed, 4 Sep 2024 15:46:33 +0000 (11:46 -0400)]
adds a short and long harry potter signal

23 months agoMerge PR #293 - add instant LED duration
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

23 months agoMerge PR #419 - add endless runner watch face
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

23 months agoMerge PR #436 - add wordle watch face
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

23 months agoMerge PR #299 - leading zero representation
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

23 months agoReduced struct memory per code review
David Volovskiy [Tue, 3 Sep 2024 21:13:59 +0000 (17:13 -0400)]
Reduced struct memory per code review

23 months agoInclude ability to select only the best words as the first choice
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

23 months agogot rid of hardcoding of half-second zero blink
David Volovskiy [Tue, 3 Sep 2024 20:25:05 +0000 (16:25 -0400)]
got rid of hardcoding of half-second zero blink

23 months agoChanged U LOSE to LOSE
David Volovskiy [Tue, 27 Aug 2024 17:09:44 +0000 (13:09 -0400)]
Changed U LOSE to LOSE

23 months agobug fix on displaying time in LE mode
David Volovskiy [Fri, 26 Jul 2024 10:10:26 +0000 (06:10 -0400)]
bug fix on displaying time in LE mode

23 months agoLE mode in the endless runner now displays the current time.
David Volovskiy [Thu, 25 Jul 2024 01:12:17 +0000 (21:12 -0400)]
LE mode in the endless runner now displays the current time.

23 months agoAdded second fuel mode where we don't recharge the fuel if it hits zero.
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.

23 months agoAdded fuel mode
David Volovskiy [Thu, 25 Jul 2024 01:03:54 +0000 (21:03 -0400)]
Added fuel mode

23 months agoChanged hi score number offset and refactored some code
David Volovskiy [Wed, 24 Jul 2024 03:31:13 +0000 (23:31 -0400)]
Changed hi score number offset and refactored some code

23 months agoAdded author in header
David Volovskiy [Tue, 23 Jul 2024 21:52:50 +0000 (17:52 -0400)]
Added author in header

23 months agoRefectored the state machine
David Volovskiy [Sat, 20 Jul 2024 13:43:49 +0000 (09:43 -0400)]
Refectored the state machine

23 months agoModified hi score display to allow for 3 digits in hi-score, it now resets at the...
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

23 months agohi score resets weekly
David Volovskiy [Sat, 20 Jul 2024 10:46:08 +0000 (06:46 -0400)]
hi score resets weekly

23 months agoReformat to remove some hardocded variables
David Volovskiy [Fri, 19 Jul 2024 12:43:15 +0000 (08:43 -0400)]
Reformat to remove some hardocded variables

23 months agoAdded baby mode which used to be easy mode; easy mode is now same speed as normal...
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.

23 months agoGave an extra jumping frame for non-hard mode; Curr scroll now loops; Title changed...
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

23 months agoFixed the long delays when beginning a game
David Volovskiy [Tue, 16 Jul 2024 13:29:19 +0000 (09:29 -0400)]
Fixed the long delays when beginning a game

23 months agoRemoved the binary print debug function
David Volovskiy [Tue, 16 Jul 2024 12:51:45 +0000 (08:51 -0400)]
Removed the binary print debug function

23 months agoAdded endless-runner face
David Volovskiy [Tue, 16 Jul 2024 12:50:11 +0000 (08:50 -0400)]
Added endless-runner face

23 months agoAdded ability to find best starting word
David Volovskiy [Tue, 3 Sep 2024 14:15:48 +0000 (10:15 -0400)]
Added ability to find best starting word

23 months agohard mode btn changed; logic changed on daily streak so if puzzle wasn't started...
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

23 months agoStreak face fix
David Volovskiy [Tue, 27 Aug 2024 17:08:13 +0000 (13:08 -0400)]
Streak face fix

23 months agoWORDLE_USE_DAILY_STREAK logic changed
David Volovskiy [Tue, 27 Aug 2024 16:31:22 +0000 (12:31 -0400)]
WORDLE_USE_DAILY_STREAK logic changed

23 months agoWordle game resets after 24hrs of not playing when not using daily streak
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

23 months agoReset streak if don't continue
David Volovskiy [Tue, 27 Aug 2024 02:24:33 +0000 (22:24 -0400)]
Reset streak if don't continue

23 months agoChanged the lap to hard mode; fixed the ignore used letters
David Volovskiy [Tue, 27 Aug 2024 01:10:00 +0000 (21:10 -0400)]
Changed the lap to hard mode; fixed the ignore used letters

23 months agoRevert "LAP indicator now dispalys on all screens"
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.

23 months agoDocumentation fix
David Volovskiy [Sun, 25 Aug 2024 16:38:08 +0000 (12:38 -0400)]
Documentation fix

23 months agoAdded explanation on LAP icon
David Volovskiy [Sun, 25 Aug 2024 16:36:04 +0000 (12:36 -0400)]
Added explanation on LAP icon

23 months agoLAP indicator now dispalys on all screens
David Volovskiy [Sun, 25 Aug 2024 16:23:35 +0000 (12:23 -0400)]
LAP indicator now dispalys on all screens

23 months agoskip_wrong_letter is now a toggle
David Volovskiy [Sun, 25 Aug 2024 16:18:27 +0000 (12:18 -0400)]
skip_wrong_letter is now a toggle

23 months agoChanged variable names for dictionary header
David Volovskiy [Sun, 25 Aug 2024 14:35:58 +0000 (10:35 -0400)]
Changed variable names for dictionary header