Commit Graph

1880 Commits

Author SHA1 Message Date
647457f27a Add a defensive check for negative values - silences compiler warnings 2025-08-09 19:52:35 +02:00
d0ce60111e use 0 contrast for custom lcd
this greatly improves off axis viewing, for an extremely slightly reduction in actual contrast when viewed on axis.
2025-08-08 22:23:33 +10:00
86fd87a326 watch-faces.mk: add totp_face.c, got lost while adding totp_lfs_face 2025-08-05 12:21:03 -04:00
aae7926191 remove outdated guidance from watch face template 2025-08-04 07:16:37 -04:00
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
3d86e14f05 add Baby kicks face (#70) 2025-08-03 13:59:14 -04:00
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
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
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
9121c0cfb8 Fix set_time_face erroneously setting the local time when changing timezone 2025-08-03 13:21:35 -04:00
145fc168b1 Clear low energy animation when waking up 2025-08-03 13:21:17 -04:00
d903a827e9 Fix simulator deep sleep mode 2025-08-03 13:20:53 -04:00
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
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
01b7f30cef Added simple coin flip watch face (#63) 2025-08-03 13:16:34 -04:00
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
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
5e0cc98659 Add Japanese Era (Wareki) Display Feature (for Custom LCD) (#57) 2025-08-03 13:09:19 -04:00
bc02072250 Blank day field on reset 2025-08-03 13:08:47 -04:00
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
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
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
39d605204f mark movement_state as volatile 2025-07-27 12:39:31 -04:00
8c456c9b62 ke decimal time: silence warnings 2025-07-27 11:54:48 -04:00
991a4a1dc5 add delay before sampling VBUS_DET 2025-07-27 11:30:49 -04:00
40d04b1158 Merge branch 'main' into wordle_port 2025-07-09 07:55:05 -04:00
7c4a498a96 Removed from watch_faces 2025-07-09 07:52:42 -04:00
befa570a9a Updated print logic for second movement 2025-07-09 07:48:59 -04:00
866cbb11bf add local decimal time (Kè) face 2025-07-08 17:54:43 -04:00
0711622210 Add delays before registering btns, don't repeat words, cleaned up enum names 2025-07-08 07:51:36 -04:00
4d2e4172a2 Moved Wordle from legacy to main folder 2025-07-08 07:44:06 -04:00
efeba609db Build in CI using a build matrix (#41) 2025-07-07 19:24:03 -04:00
50dec7f82a Ensure git directory is marked as safe 2025-07-07 19:16:52 -04:00
3b7603a0ed Fix simulator url in README (#40) 2025-07-07 19:16:19 -04:00
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
cff96a4036 revert gossamer commit that (sometimes!) broke simulator builds 2025-07-07 18:55:45 -04:00
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
4e710066b9 Tally face port (#38)
* Moved tally face over

* Bugfix on  tally_face_should_move_back

* changed watch_display_text logic

* Negative numbers don't appear small

* remove tally face from movement_config.h
2025-07-06 15:33:56 -04:00
a729f04f13 Update README to contain git and make information (#37)
* Grab parts of the main sensor-watch README, and update with second-movement git and build info

* add BOARD and DISPLAY to emmake instructions

---------

Co-authored-by: Joey Castillo <joeycastillo@utexas.edu>
2025-07-06 15:28:17 -04:00
e2a94577e0 bump gossamer commit 2025-07-06 15:22:04 -04:00
07bb4e33e0 bump gossamer commit 2025-07-06 15:08:12 -04:00
58ec374ffd Merge pull request #36 from neutralinsomniac/remove_close_enough_face_from_default_faces
looks like close_enough face was accidentally committed to the default set of enabled watch faces
2025-07-06 14:52:50 -04:00
23fe33abaa looks like close_enough face was accidentally committed to the default set of enabled watch faces 2025-07-06 14:36:59 -04:00
410d32f2d0 silence warnings 2025-07-06 12:40:06 -04:00
87448e6e44 remove tarot_face from legacy (is now in second movement) 2025-07-06 12:12:01 -04:00
73e62bbc18 New watchface: ish face (#21) 2025-07-06 12:00:56 -04:00
bdc6f98daa Port Breathing face to second movement, also add LED notification. General fixes. (#34) 2025-07-06 11:58:16 -04:00
b4da0defbe Port probability face to second movement (#30)
* Move out of legacy folder, add to build

* Ported probability face display functions
Added tap support

* Fix animation for custom LCD
2025-07-06 11:55:50 -04:00
55f8eaa257 Port close enough clock face to second-movement (#31)
* Port over close enough clock face

* Clean up the code and comments
2025-07-06 11:52:43 -04:00
d0f78aaa91 port tarot face to second movement (#28) 2025-07-06 11:48:56 -04:00