ba9f41f963
Fix calling start callback
2026-04-04 16:07:03 +02:00
aba0aa97ec
don't jump missed ticks, forgot callbacks
2026-01-22 23:55:55 -03:00
22293ed693
jump counter forward when tab resumes from background
2026-01-22 17:39:33 -03:00
d653cf6921
renamed counter_interval to rtc_enabled
2026-01-22 13:18:18 -03:00
a3664b0789
update simulator rtc counter improvements to match real hardware
2026-01-22 12:33:34 -03:00
7d4a80a29d
fixed simulator watch rtc counter
2026-01-21 14:32:16 -03:00
f6fad64eeb
don't force-reset the state of the RTC when rebooting
2026-01-02 20:07:56 -05:00
51ca839f3b
Removed all of the compiler warnings
2026-01-02 20:07:56 -05:00
e8750713f8
Renamed LIS2DW_FIFO_TIMEOUT_SECOND to LIS2DW_FIFO_TIMEOUT
2026-01-02 20:07:56 -05:00
757f1a1de7
defined LIS2DW_FIFO_TIMEOUT_SECOND
2026-01-02 20:07:56 -05:00
19f789e428
Made the timeout for lis2dw_read_fifo a variable
2026-01-02 20:07:56 -05:00
c6c97556ac
Added FIFO timeout to LIS2DW
2026-01-02 20:07:56 -05:00
dd054efe8d
Added LIR latching on LIS2DW
2026-01-02 20:07:56 -05:00
c5fe350fa1
Explicitly set interrupt type to latched
2026-01-02 20:07:56 -05:00
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