105 Commits

Author SHA1 Message Date
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
joeycastillo
2bbd78a99d remove ASF calls for TRNG 2024-09-18 17:09:20 -04:00
joeycastillo
7ee3eeac49 clean up location of some private functions 2024-09-18 17:05:10 -04:00
joeycastillo
6706452353 port ADC functions to gossamer 2024-09-18 16:10:12 -04:00
joeycastillo
9e32cbc523 port SLCD to gossamer, add new string display options 2024-09-18 16:04:55 -04:00
joeycastillo
ac88e2de8c port external interrupts to gossamer framework 2024-09-18 15:29:31 -04:00
joeycastillo
29d6ce42f1 bring in RTC functionality 2024-09-18 15:06:38 -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
5ba64844e2 port GPIO functions to new framework 2024-09-18 14:33:07 -04:00
joeycastillo
02f7469400 remove ASF code, config 2024-09-18 13:56:49 -04:00