122 Commits

Author SHA1 Message Date
voloved
57dec9f9f5
Merge pull request #103 from voloved/disable_slcd
Added watch_disable_display
2025-11-22 09:29:33 -05:00
David Volovskiy
8574216612 Moved away from i2c_result_t to int8_t 2025-10-19 12:58:07 -04:00
David Volovskiy
870fd8d01f Included return value of I2C calls 2025-10-19 12:51:34 -04:00
Alessandro Genova
af0051a160 fix int32 overflow when setting a year past 2067 2025-09-24 23:23:27 -04:00
David Volovskiy
358ddeaea9 Added watch_disable_display 2025-08-23 11:31:59 -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
Joey Castillo
410d32f2d0 silence warnings 2025-07-06 12:40:06 -04:00
voloved
154bd54510
Set time on make (#35)
* Time can get set from makefile

* Added setting make time into simulator

* Added  Hash in settings

* Added default location

* Cuts the Githash to 6 characters in the settings in case the makefile didn't do that already

* bump gossamer commit

* remove automatic timezone setting

* automatic time set: rename MAKEFILE_ to BUILD_ to match gossamer

* Revert "Added default location"

This reverts commit c24f69450fd40472c4f6cebb790a56c3f0d69cb6.

* silence warning

* watch_get_init_date_time: explicitly initialize all fields to 0

---------

Co-authored-by: Joey Castillo <joeycastillo@utexas.edu>
2025-07-06 10:56:27 -04:00
Joey Castillo
310ad3d095 watch_adc: enable ADC when checking battery; let's get rid of this footgun once and for all 2025-05-21 08:51:39 -04:00
Joey Castillo
f48058568a watch utility: make Friday all caps like the others 2025-05-21 00:53:13 -04:00
Joey Castillo
287f755edb slcd: we can fit these segment mappings into one byte 2025-05-20 23:50:09 -04:00
Joey Castillo
d43c216664 bugfix: need definition of colon as indicator for blinking on custom LCD 2025-05-20 23:42:22 -04:00
Joey Castillo
6840055067 claify sleep animatiion documentation 2025-05-17 23:35:14 -04:00
Joey Castillo
9ec51f026e watch_display_text_with_fallback: update documentation 2025-05-17 23:27:51 -04:00
Joey Castillo
a64386dd8e watch_display_string: update deprecation notes 2025-05-17 23:24:18 -04:00
Joey Castillo
e0746e06f1 custom LCD now has an 'arrows' indicator instead of a battery 2025-05-12 22:37:37 -04:00
Joey Castillo
b8e1bb2a59 character set improvements 2025-03-15 19:53:00 -04:00
Joey Castillo
7d129ba6c3 world clock: support longer cities on custom LCD 2025-03-15 15:20:22 -04:00
Joey Castillo
5fa939786a fix warning in upstream musl function, see https://git.musl-libc.org/cgit/musl/commit/src/time/__year_to_secs.c\?id\=2d84486a08c57d00b647586b7cbe2dcec2728e81 2025-03-12 23:15:24 -04:00
Joey Castillo
2049febcf4 silence warning in new timezone renamer 2025-03-12 23:10:50 -04:00
Joey Castillo
6c5df4b7d8 default to classic indicator addresses (fix for simulator) 2025-03-09 09:58:16 -04:00
Joey Castillo
a6313b28c0 fix implicit-function-declaration warning 2025-03-08 17:58:58 -05:00
Joey Castillo
ea47ea2bce improve sunrise/sunset on custom LCD 2025-03-08 17:40:39 -05:00
Joey Castillo
d35a3ee8d1 nicer time zone names on new LCD 2025-03-08 17:17:40 -05:00
Joey Castillo
f745825a89 character set fix 2025-03-08 16:05:09 -05:00
Joey Castillo
138e91c6ef display glass autodetection 2025-03-08 13:43:11 -05:00
Joey Castillo
315cbb438e make Friday lowercase 2024-12-16 16:37:51 -05:00
Joey Castillo
251c4ba3c2 custom LCD: weekdays look better in uppercase 2024-12-13 19:03:27 -05:00
joeycastillo
83c7f18dd0 use char instead of uint8_t to match gossamer API 2024-10-27 14:27:55 -04:00
voloved
d05a851d94
Readds leap year checks (#2) 2024-10-27 14:04:56 -04:00
joeycastillo
c238511795 refactor watch I2C for gossamer 2024-10-08 22:44:08 -04:00
joeycastillo
4f297932ac refactor watch SPI for gossamer 2024-10-08 22:44:08 -04:00
joeycastillo
cdcb612432 refactor watch UART for gossamer 2024-10-08 22:38:11 -04:00
joeycastillo
43a7890a5c deprecate most watch_gpio functions in favor of gossamer 2024-10-07 07:34:15 -04:00
joeycastillo
5b8efa87d7 watch_display_float_with_best_effort: support negative numbers 2024-10-06 11:57:57 -04:00
joeycastillo
bfc791cdbf improve decimal display outside positions 4 and 6 2024-10-06 11:28:54 -04:00
joeycastillo
d0af20b4de avoid running over into position 10 2024-10-06 11:28:28 -04:00
joeycastillo
0a9d71e2d4 use consistent naming style for typedefs 2024-10-05 10:36:58 -04:00
joeycastillo
997f091c16 use updated gossamer typedefs 2024-10-05 10:36:58 -04:00
joeycastillo
996571967f bring in battery voltage face, add new method and demo for displaying floats 2024-09-30 00:24:23 -04:00
joeycastillo
0185b56972 custom LCD: fix garbled text in top row when using WATCH_POSITION_FULL 2024-09-29 22:53:54 -04:00
joeycastillo
e5b458fe3b blink colon when clock is in sleep mode (custom LCD only) 2024-09-29 15:49:51 -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
b66f91a0b9 add option for text across the top on custom LCD 2024-09-29 15:24:43 -04:00
joeycastillo
523d416502 add function for long weekdays 2024-09-29 15:24:43 -04:00
joeycastillo
67e33000d9 add edge cases for custom LCD 2024-09-29 14:18:53 -04:00
joeycastillo
2af976c8c8 clean up const qualifiers in display functions 2024-09-29 13:56:16 -04:00
joeycastillo
e2ac434c3b move buzzer sequence timing to TC0 2024-09-29 12:43:12 -04:00
joeycastillo
9bedee8e54 consistently use _t convention 2024-09-29 07:45:24 -04:00
joeycastillo
52578e5413 integrate utz, use DST-aware time zones instead of bare offsets 2024-09-23 23:27:10 -04:00