1693 Commits

Author SHA1 Message Date
David Volovskiy
437e513d1f Stand on 21 if we ask for a hit 2025-11-16 08:28:46 -05:00
David Volovskiy
796f83a19f Attempt at fixing blackjack win rate counter 2025-09-28 16:33:49 -04:00
David Volovskiy
639f42c5d8 Tapping turned off when not being used since tap control uses 90uA 2025-09-08 19:44:14 -04:00
David Volovskiy
9764c0f84d We only stack the deck on activate and not before every new shuffle 2025-09-07 08:51:47 -04:00
David Volovskiy
2c4d3d7f50 Can now turn on LED with long press 2025-09-06 12:07:17 -04:00
David Volovskiy
30c378a3ce Text fixes for classic display 2025-09-05 17:07:24 -04:00
David Volovskiy
a7c2cede06 Typo fix 2025-09-04 18:29:07 -04:00
David Volovskiy
a2c400ff87 Added Win percentage face 2025-09-03 18:18:03 -04:00
David Volovskiy
eb1b551e7b Added documentation on tap controls and retained the tap indicator 2025-09-03 08:06:03 -04:00
David Volovskiy
20bb59f02f Compiler warning fixes 2025-09-03 07:56:33 -04:00
David Volovskiy
d6e4a1ad44 Added delay before showing Bust 2025-09-03 07:52:18 -04:00
David Volovskiy
93a2a5a5ee Documented face 2025-09-03 07:46:38 -04:00
David Volovskiy
9ac62e8e53 Display of face cards and Ace 2025-09-03 07:28:38 -04:00
David Volovskiy
1d40c384cb Added logic for supporting Ace 2025-09-03 07:07:51 -04:00
David Volovskiy
b66e10406e Made hand info into a struct 2025-09-03 06:45:14 -04:00
David Volovskiy
3b3ecffd3e Fixed a few warnings. 2025-09-02 22:23:36 -04:00
David Volovskiy
8a831f5cfd Added tap controls 2025-09-02 22:15:06 -04:00
David Volovskiy
3760aeb947 Changed order of how cards are displayed for player 2025-09-02 21:57:42 -04:00
David Volovskiy
838aa1e6f7 initial commit of working code 2025-09-02 21:34:29 -04:00
Joey Castillo
5ecc3d6384 increase delay before checking VBUS_DET 2025-08-24 08:28:50 -04:00
Michael Köfinger
86fd87a326 watch-faces.mk: add totp_face.c, got lost while adding totp_lfs_face 2025-08-05 12:21:03 -04:00
Joey Castillo
aae7926191 remove outdated guidance from watch face template 2025-08-04 07:16:37 -04:00
Lorenzo Prosseda
3baff2f5a7 Avoid confusion between T and E on classic display
In place of T, display a + character in positions 4 and 6
2025-08-04 07:11:23 -04:00
Gábor Nyéki
3d86e14f05
add Baby kicks face (#70) 2025-08-03 13:59:14 -04:00
metrast
6a42269857
ported pulsometer_face and counter_face from movement and optimized it for the custom lcd (#67) 2025-08-03 13:26:17 -04:00
Lorenzo Prosseda
8ecf4ca3e6
Add "Jurassic Park" custom signal tune (#53)
* Add "Jurassic Park" custom signal tune

* Change tune to "staccato" tempo

Draws less power while playing
2025-08-03 13:23:51 -04:00
Lorenzo Prosseda
4eee544762
Port the interval_face complication to Second Movement (#66)
* Port the interval_face complication to Second Movement

- Compile inside Second Movement
- Support custom display

* Refactor display buffer name, enlarge index buffer

Also removed now unused _blink_idx array

* Fix Clear setting not showing, and its formatting

* Rename work interval label to make it unique

* Skip empty interval timers while cycling through
2025-08-03 13:22:18 -04:00
Alessandro Genova
9121c0cfb8 Fix set_time_face erroneously setting the local time when changing timezone 2025-08-03 13:21:35 -04:00
Lorenzo Prosseda
145fc168b1 Clear low energy animation when waking up 2025-08-03 13:21:17 -04:00
Alessandro Genova
d903a827e9 Fix simulator deep sleep mode 2025-08-03 13:20:53 -04:00
Lorenzo Prosseda
39d2c4499e
Port of timer_face from legacy (#64)
- Closes https://github.com/joeycastillo/second-movement/issues/15
- Fixed issue with colon disappearing if exiting settings mode on the CLEAR or LOOP strings
- Use newer print function with fallback for classic display
2025-08-03 13:19:26 -04:00
Lorenzo Prosseda
ad854fc9b8
Add "Evengelion" custom signal tune (#52)
* Add "Evengelion" custom signal tune

First notes from the opening "Cruel Angel Thesis"

* Change tune to "staccato" tempo

Draws less power while playing
2025-08-03 13:17:57 -04:00
Vaipex
01b7f30cef
Added simple coin flip watch face (#63) 2025-08-03 13:16:34 -04:00
Konrad Rieck
22b11de6ae
Monitor for LIS2DW accelerometer (#61)
This watch face displays the current reading of the LIS2DW12 accelerometer.
The axis (x,y,z) can be selected using the alarm button. A long press on the
light button allows to configure the sensor, including its mode, data rate,
low power mode, bandwidth filtering, range, filter type, and low noise mode.

The watch face is mainly designed for experimenting with the sensor and
configuring it for other developing other watch faces.
2025-08-03 13:12:43 -04:00
James Haggerty
0eb96a637c Move totp_lfs face from legacy
Changes:
- use 3 characters if possible for identifier
- rename from totp_face_lfs to totp_lfs_face for consistency
2025-08-03 13:11:36 -04:00
kbc-yam
5e0cc98659
Add Japanese Era (Wareki) Display Feature (for Custom LCD) (#57) 2025-08-03 13:09:19 -04:00
Daniel Bergman
bc02072250 Blank day field on reset 2025-08-03 13:08:47 -04:00
Konrad Rieck
1954944d8d
Port of deadline face (#48)
* port of deadline face

* removed beep type enum from header

---------

Co-authored-by: Joey Castillo <joeycastillo@utexas.edu>
2025-08-03 13:03:12 -04:00
voloved
4b4735065f
Wordle port (#45)
* Moved Wordle from legacy to main folder

* Add delays before registering btns, don't repeat words, cleaned up enum names

* Updated print logic for second movement

* Removed from watch_faces
2025-08-03 12:56:23 -04:00
James Haggerty
78eb0c0c97 Fix command line in simulator
In the original movement, the 'usb enabled' check was overridden
to true for the simulator such that shell_task() would always
be executed. In the new 'dummy' device in gossamer used by the
simulator, this usb check returns false.

Seemed like a slightly cleaner thing to do was to call
shell_task() regardless rather than to incorrectly
pretend that USB was connected.
2025-07-28 09:23:54 -04:00
Joey Castillo
39d605204f mark movement_state as volatile 2025-07-27 12:39:31 -04:00
Joey Castillo
8c456c9b62 ke decimal time: silence warnings 2025-07-27 11:54:48 -04:00
Joey Castillo
991a4a1dc5 add delay before sampling VBUS_DET 2025-07-27 11:30:49 -04:00
Joey Castillo
866cbb11bf add local decimal time (Kè) face 2025-07-08 17:54:43 -04:00
Eirik Stanghelle Morland
efeba609db
Build in CI using a build matrix (#41) 2025-07-07 19:24:03 -04:00
Eirik Stanghelle Morland
50dec7f82a Ensure git directory is marked as safe 2025-07-07 19:16:52 -04:00
Ruben Nic
3b7603a0ed
Fix simulator url in README (#40) 2025-07-07 19:16:19 -04:00
Daniel Bergman
4d45fcde30
Tally face: fix build warnings (#43)
Clamp tally index values in print_tally function to ensure they remain within defined limits, silencing compiler warnings
2025-07-07 19:14:07 -04:00
Joey Castillo
cff96a4036 revert gossamer commit that (sometimes!) broke simulator builds 2025-07-07 18:55:45 -04:00
Daniel Bergman
a74cfd547a Fix compiler warnings by casting centibeats to unsigned int in beats_face.c. Also make precedence explicit in ms calculation. 2025-07-06 16:15:14 -04:00