382 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
voloved
b9e597dfc3
Merge pull request #95 from eiriksm/fix/blue-sim
Support blue led in sim
2025-11-22 08:58:24 -05:00
voloved
15b8d0cc3f
Merge pull request #149 from voloved/double-tap
Added double-tap capabilities to LIS2DW
2025-11-22 08:53:20 -05:00
David Volovskiy
e7225e1d5c Merge branch 'main' into double-tap 2025-11-22 08:50:44 -05:00
michael-lachmann
998a135078
Avoid out-of-range character
When character is out of range, this will access illegal memory areas.
In watch_display_text() it also makes sense to stop on char='\0' even when in position 0.
2025-11-21 20:28:41 -07:00
David Volovskiy
eaae42cca9 Added double-tap capabilities to LIS2DW 2025-11-15 14:49:56 -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
atax1a
fe1c024e47
Merge pull request #122 from alesgenova/fix-year-2067
fix int32 overflow when setting a year past 2067
2025-10-14 00:41:20 +00: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
Eirik S. Morland
5d5ac6facb Support blue led in sim 2025-08-18 21:54:53 +02:00
Eli Dowling
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
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
Alessandro Genova
d903a827e9 Fix simulator deep sleep mode 2025-08-03 13:20:53 -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
Ruben Nic
99b02ee0b5
Add support for custom display in the simulator (#26)
* Initial custom display SVG and display selection

* clean up SVG and add data-com and data-seg

* Fix signal's data-com and data-seg

* Revert "Fix signal's data-com and data-seg"

This reverts commit 82f8dc6a91973fb3b9e25e8e073a26d8996977ae.

* Update indicators mapping for custom display

* Align #ifs to the left
2025-06-30 19:34:16 -04:00
Joey Castillo
bf40e46036 bugfix: remove time_offset to get alarm handler working in simulator 2025-06-07 21:25:57 -06:00
Joey Castillo
7cf81ee9e0 set LED's drive strength to high 2025-05-27 20:40:06 -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
616bb08720 display detection: return straight away if LCD type was forced 2025-05-18 21:19:12 -04:00
Joey Castillo
5691a3f4f1 watch library: remove LCD autodetect, make selection manual 2025-05-18 21:04:49 -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
1e9dc049bf clean up after detecting thermistor 2025-05-17 22:06:11 -04:00
Joey Castillo
80cbb0fe30 automatically detect temperature sensor 2025-05-17 10:23:38 -04:00
Joey Castillo
9e239c3f6d accelerometer: fail gracefully in absence of I2C bus 2025-05-16 01:12:38 -04:00
Joey Castillo
c5bda0faeb auto-detect accelerometer sensor (and don't fail build for lack of a temperature sensor) 2025-05-16 00:07:15 -04:00
Joey Castillo
60914647b1 watch_rtc clarification: 128 Hz is 0x80, not 0xF0 2025-05-15 22:12:12 -04:00
Joey Castillo
74d59a3cee resume disabling EIC in deep sleep 2025-05-13 18:46:48 -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
956b8601f6 enable filtering on button inputs 2025-05-12 22:25:27 -04:00
Joey Castillo
5059582e96 improved contrast on custom LCD 2025-05-11 20:16:40 -04:00
Joey Castillo
74923354b9 accelerometer: fix activity not being tracked in low energy mode 2025-04-30 07:44:15 -04:00
Joey Castillo
e435969b51 WIP: accelerometer activity tracking 2025-04-20 13:47:04 -04:00
Joey Castillo
6637f1780a fix sticky sleep icon on custom LCD 2025-03-29 10:36:05 -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
c1efea4db7 lcd autodetect: use buttons as a backup option 2025-03-15 09:48:53 -04:00
Joey Castillo
f52b150c0b don't run LCD discovery if display is already running 2025-03-15 09:35:58 -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
be5be6c5da slcd: silence warnings 2025-03-12 23:09:50 -04:00
Joey Castillo
3243ec37f3 lis2dw driver: silence warnings 2025-03-12 23:08:42 -04:00
Joey Castillo
6c5df4b7d8 default to classic indicator addresses (fix for simulator) 2025-03-09 09:58:16 -04:00