115 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
David Volovskiy
358ddeaea9 Added watch_disable_display 2025-08-23 11:31:59 -04: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
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
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
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
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
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
be5be6c5da slcd: silence warnings 2025-03-12 23:09:50 -04:00
Joey Castillo
73aac153e2 note for future testing 2025-03-08 17:18:16 -05:00
Joey Castillo
138e91c6ef display glass autodetection 2025-03-08 13:43:11 -05:00
joeycastillo
b00faa2b03 accelerometer: new hardware swaps interrupt wiring 2024-11-18 21:39:12 -05:00
joeycastillo
83c7f18dd0 use char instead of uint8_t to match gossamer API 2024-10-27 14:27:55 -04:00
joeycastillo
1e359c0f7c classic LCD was looking a bit dim 2024-10-19 15:43:53 -04:00
joeycastillo
19376625d1 more accelerometer work 2024-10-19 12:35:46 -04:00
joeycastillo
bc4c3cbd38 use gossamer 0.0.1 2024-10-14 21:19:09 -04:00
joeycastillo
4795818098 only build sensor features if sensor is available 2024-10-12 11:16:01 -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
42871ad951 clear all of seconds display when going to sleep 2024-10-06 12:01:41 -04:00
joeycastillo
997f091c16 use updated gossamer 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
3795b8494a support new sleep indicator 2024-09-29 15:24:43 -04:00
joeycastillo
e2ac434c3b move buzzer sequence timing to TC0 2024-09-29 12:43:12 -04:00
joeycastillo
e4db48281d lol, GCLK3 is 1024 Hz in gossamer 2024-09-29 12:27:20 -04:00
joeycastillo
38f68fd165 clock SLCD frame counters from external crystal for more accurate tick/tock animation 2024-09-29 11:25:49 -04:00
joeycastillo
2ac3a1db2f fix sleep mode animation 2024-09-29 11:14:26 -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
dbf31b4e28 new name for irq handlers 2024-09-18 21:28:55 -04:00
joeycastillo
24598ec280 restore buzzer sequence functionality 2024-09-18 18:21:35 -04:00
joeycastillo
66f7a8802e remove dependency on Atmel HRI in storage module 2024-09-18 17:44:14 -04:00
joeycastillo
d0ca6a025a bring in deep sleep / external wake functions 2024-09-18 17:37:20 -04:00
joeycastillo
c02c89c880 clean up location of buzzer functions, notes 2024-09-18 17:25:41 -04:00
joeycastillo
422cea8ff6 simpler USB CDC with gossamer / yield (no need for TC0/TC1) 2024-09-18 17:14:06 -04:00
joeycastillo
da11c14684 use gossamer GPIO calls here 2024-09-18 17:13:11 -04:00