996d5d6679
Convert from timestamp to date_time once per second at most
2026-01-02 20:07:56 -05:00
f534e7c202
Fix bug that was causing notes in a sequence to play too long
2026-01-02 20:07:56 -05:00
04276c1999
Improve watch_tcc to decouple leds and buzzer as much as allowed
...
As a positive side effect, the led will stop emitting the faintiest
of blinks when the buzzer starts playing.
2026-01-02 20:07:56 -05:00
bf9d89106f
Fix LED flickering while the buzzer is playing
2026-01-02 20:07:56 -05:00
3caef587df
Play an arbitrary stream on the buzzer without blocking
2026-01-02 20:07:56 -05:00
c37d40d086
Make the simulator play beeps a lot more reliably.
2026-01-02 20:07:56 -05:00
42fdad78d5
Add more theoretical checks to ensure we don't miss out on any comp timers
...
Even without this "fix" the watch seems to be extremely stable and haven't seen
any missed timers over several days test. So this might not actually be needed,
but it should make things even safer.
2026-01-02 20:02:36 -05:00
96682a513b
Undo some workarounds implemented to fix race conditions that are no longer needed
2026-01-02 20:02:36 -05:00
a71967a015
Perform as little work as possible in the interrupt callbacks
2026-01-02 20:02:36 -05:00
9770ad4fe9
Fix more corner case that could cause the top of minute alarm to stop firing
2026-01-02 20:02:36 -05:00
a616ac6cc4
Fix corner case that could cause the top of minute alarm to stop firing
2026-01-02 20:02:36 -05:00
7acc9cc414
Align the top of the second with the 1Hz periodic interrupt
2026-01-02 20:02:36 -05:00
6e23421df4
Fix a bug that was causing 10x power usage from boot until the first sound played
2026-01-02 20:02:36 -05:00
e942f67685
Minor fixes to settings faces to work with the new rtc mode
2026-01-02 20:02:36 -05:00
eb9ec8659c
Initial seemingly stable version of movement using the RTC COUNTER32 mode
2026-01-02 20:02:36 -05:00
23038c3f74
Reapply "Added double-tap capabilities to LIS2DW"
...
This reverts commit 3bd1254b5f .
2025-12-01 20:14:54 -05:00
3bd1254b5f
Revert "Added double-tap capabilities to LIS2DW"
2025-12-01 20:09:34 -05:00
57dec9f9f5
Merge pull request #103 from voloved/disable_slcd
...
Added watch_disable_display
2025-11-22 09:29:33 -05:00
b9e597dfc3
Merge pull request #95 from eiriksm/fix/blue-sim
...
Support blue led in sim
2025-11-22 08:58:24 -05:00
15b8d0cc3f
Merge pull request #149 from voloved/double-tap
...
Added double-tap capabilities to LIS2DW
2025-11-22 08:53:20 -05:00
e7225e1d5c
Merge branch 'main' into double-tap
2025-11-22 08:50:44 -05:00
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
eaae42cca9
Added double-tap capabilities to LIS2DW
2025-11-15 14:49:56 -05:00
8574216612
Moved away from i2c_result_t to int8_t
2025-10-19 12:58:07 -04:00
870fd8d01f
Included return value of I2C calls
2025-10-19 12:51:34 -04:00
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
af0051a160
fix int32 overflow when setting a year past 2067
2025-09-24 23:23:27 -04:00
358ddeaea9
Added watch_disable_display
2025-08-23 11:31:59 -04:00
5d5ac6facb
Support blue led in sim
2025-08-18 21:54:53 +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
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
d903a827e9
Fix simulator deep sleep mode
2025-08-03 13:20:53 -04:00
410d32f2d0
silence warnings
2025-07-06 12:40:06 -04:00
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 c24f69450f .
* 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
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 82f8dc6a91 .
* Update indicators mapping for custom display
* Align #ifs to the left
2025-06-30 19:34:16 -04:00
bf40e46036
bugfix: remove time_offset to get alarm handler working in simulator
2025-06-07 21:25:57 -06:00
7cf81ee9e0
set LED's drive strength to high
2025-05-27 20:40:06 -04:00
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
f48058568a
watch utility: make Friday all caps like the others
2025-05-21 00:53:13 -04:00
287f755edb
slcd: we can fit these segment mappings into one byte
2025-05-20 23:50:09 -04:00
d43c216664
bugfix: need definition of colon as indicator for blinking on custom LCD
2025-05-20 23:42:22 -04:00
616bb08720
display detection: return straight away if LCD type was forced
2025-05-18 21:19:12 -04:00
5691a3f4f1
watch library: remove LCD autodetect, make selection manual
2025-05-18 21:04:49 -04:00
6840055067
claify sleep animatiion documentation
2025-05-17 23:35:14 -04:00
9ec51f026e
watch_display_text_with_fallback: update documentation
2025-05-17 23:27:51 -04:00
a64386dd8e
watch_display_string: update deprecation notes
2025-05-17 23:24:18 -04:00
1e9dc049bf
clean up after detecting thermistor
2025-05-17 22:06:11 -04:00
80cbb0fe30
automatically detect temperature sensor
2025-05-17 10:23:38 -04:00
9e239c3f6d
accelerometer: fail gracefully in absence of I2C bus
2025-05-16 01:12:38 -04:00
c5bda0faeb
auto-detect accelerometer sensor (and don't fail build for lack of a temperature sensor)
2025-05-16 00:07:15 -04:00