redraw
a3664b0789
update simulator rtc counter improvements to match real hardware
2026-01-22 12:33:34 -03:00
redraw
7d4a80a29d
fixed simulator watch rtc counter
2026-01-21 14:32:16 -03:00
David Volovskiy
51ca839f3b
Removed all of the compiler warnings
2026-01-02 20:07:56 -05:00
Alessandro Genova
f534e7c202
Fix bug that was causing notes in a sequence to play too long
2026-01-02 20:07:56 -05:00
Alessandro Genova
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
Alessandro Genova
3caef587df
Play an arbitrary stream on the buzzer without blocking
2026-01-02 20:07:56 -05:00
Alessandro Genova
c37d40d086
Make the simulator play beeps a lot more reliably.
2026-01-02 20:07:56 -05:00
Alessandro Genova
9770ad4fe9
Fix more corner case that could cause the top of minute alarm to stop firing
2026-01-02 20:02:36 -05:00
Alessandro Genova
a616ac6cc4
Fix corner case that could cause the top of minute alarm to stop firing
2026-01-02 20:02:36 -05:00
Alessandro Genova
7acc9cc414
Align the top of the second with the 1Hz periodic interrupt
2026-01-02 20:02:36 -05:00
Alessandro Genova
e942f67685
Minor fixes to settings faces to work with the new rtc mode
2026-01-02 20:02:36 -05:00
Alessandro Genova
eb9ec8659c
Initial seemingly stable version of movement using the RTC COUNTER32 mode
2026-01-02 20:02:36 -05:00
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
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
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
Alessandro Genova
d903a827e9
Fix simulator deep sleep mode
2025-08-03 13:20:53 -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
Eirik Stanghelle Morland
81dc49adf4
Fix simulator LCD handling
2025-03-09 08:29:05 +01:00
joeycastillo
83c7f18dd0
use char instead of uint8_t to match gossamer API
2024-10-27 14:27:55 -04:00
voloved
94d8a581d9
Made the simulator properly set itself with the UTC time on startup ( #7 )
2024-10-27 14:08:05 -04:00
joeycastillo
2ea18e0f73
fix broken simulator build
2024-10-14 12:51:17 -04:00
joeycastillo
cdcb612432
refactor watch UART for gossamer
2024-10-08 22:38:11 -04:00
joeycastillo
ab861d81d1
fix time zones in simulator
2024-10-07 08:36:23 -04:00
joeycastillo
a988733bb6
bump gossamer commit
2024-10-07 08:00:32 -04:00
joeycastillo
63c34005ee
initial pass at simulator support
2024-10-06 17:14:46 -04:00
joeycastillo
0a9d71e2d4
use consistent naming style for typedefs
2024-10-05 10:36:58 -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
e8cedeac6c
rename enum, rearrange watch_tcc.h
2024-09-22 14:26:49 -04:00
joeycastillo
2e738db673
add buzzer volume control
2024-09-22 13:34:46 -04:00
joeycastillo
0585a1d0d8
consolidate buzzer and LED into TCC file
2024-09-18 14:53:46 -04:00
joeycastillo
29f020e207
port buzzer and LED functions to gossamer framework
2024-09-18 14:47:53 -04:00
joeycastillo
02f7469400
remove ASF code, config
2024-09-18 13:56:49 -04:00
Matheus Afonso Martins Moreira
a9d503b807
Revert PR #470 - implement automatic DST toggling
...
The DST code has not yet been fully tested, the upcoming movement
refactor is upon us and it will integrate with the micro timezone
library anyway. Revert it so that next can be merged into main.
This reverts commit ac5bf8cfce , reversing
changes made to 5a8a49a8c7 .
2024-09-17 17:28:32 -03:00
Matheus Afonso Martins Moreira
ac5bf8cfce
Merge PR #470 - implement automatic DST toggling
...
Implements logic to automatically offset daylight saving time settings
when calculating timezone offsets. This should make the DST functions
work automatically with no need for user input in most cases.
Reviewed-by: Matheus Afonso Martins Moreira <matheus@matheusmoreira.com >
GitHub-Pull-Request: https://github.com/joeycastillo/Sensor-Watch/pull/470
2024-09-08 13:41:52 -03:00
Matheus Afonso Martins Moreira
99586f8442
Merge PR #394 - keep LED lit while buttons held
...
Keeps the LED turned on while the user is interacting with the watch.
Reviewed-by: Matheus Afonso Martins Moreira <matheus@matheusmoreira.com >
GitHub-Pull-Request: https://github.com/joeycastillo/Sensor-Watch/pull/394
2024-09-07 20:31:46 -03:00
David Volovskiy
e50390b673
DST roll is now a global variable in watch_rtc
2024-08-03 10:07:57 -04:00
Robert Masen
ccf99a9727
add temp input to simulator
2024-08-02 18:20:44 -05:00
James Haggerty
5f1a651732
Keep light on if interacting
...
This makes it possible to do a bunch of things without
having to keep touching the light button.
I don't really see any downside with this. If you want
the light to go off, just stop touching buttons.
2024-07-21 08:25:54 +10:00
Jose Castillo
d98d14d236
Add support for Sensor Watch Pro ( #412 )
...
* Sensor Watch Pro board definition
* Disable hot-plugging on SWCLK
* Add rainbow test
* Move interrupt mapping to board config
* New color definition for Pro boards in makefile
2024-07-06 11:07:02 -04:00
Matheus Afonso Martins Moreira
592e18bf0e
Merge branch 'silicon-errata' into advanced
...
Implements the recommended workarounds for numerous silicon errata,
reducing power consumption and preventing freezes and hard faults.
Tested-by: Alex Maestas <git@se30.xyz >
Tested-by: Matheus Afonso Martins Moreira <matheus.a.m.moreira@gmail.com >
Tested-on-hardware-by: Alex Maestas <git@se30.xyz >
Tested-on-hardware-by: Matheus Afonso Martins Moreira <matheus.a.m.moreira@gmail.com >
Reviewed-by: Wesley Aptekar-Cassels <me@wesleyac.com >
Reviewed-by: Matheus Afonso Martins Moreira <matheus.a.m.moreira@gmail.com >
Signed-off-by: Matheus Afonso Martins Moreira <matheus.a.m.moreira@gmail.com >
GitHub-Pull-Request: https://github.com/joeycastillo/Sensor-Watch/pull/340
GitHub-Related-Issue: https://github.com/joeycastillo/Sensor-Watch/issues/361
GitHub-Related-Issue: https://github.com/joeycastillo/Sensor-Watch/issues/359
Reference: https://ww1.microchip.com/downloads/aemDocuments/documents/MCU32/ProductDocuments/Errata/SAM-L22-Family-Silicon-Errata-and-Data-Sheet-Clarification-DS80000782.pdf
2024-03-08 06:50:16 -03:00
Alex Maestas
83a0e4e992
annotate TRNG erratum, address review comment
2024-01-22 00:39:18 +00:00
Wesley Aptekar-Cassels
50dccd07d3
buzzer: fix simulator build, refactor sequence_length.
2024-01-09 16:22:21 -05:00
Alex Maestas
93d7f38d67
fix simulator build by declaring Trng type as a void pointer
2023-12-17 22:40:04 +00:00
Alex Maestas
8206f37fcf
fix undefined behavior found by clang's sanitize
2023-12-07 02:24:26 +00:00