19 Commits

Author SHA1 Message Date
Joey Castillo
762af872d2 fix missing prototype warnings 2021-12-10 12:00:26 -05:00
Joey Castillo
bbd394a19a use true random number generator to provide entropy 2021-12-03 21:12:15 -05:00
Joey Castillo
39a17c99b9 overdue refactor: compile all watch modules separately 2021-09-28 14:42:56 -04:00
Joey Castillo
a65dcf1ec8 WIP: refactor RTC to use clock mode directly 2021-09-27 17:42:27 -04:00
Joey Castillo
9baec59217 support common anode LEDs 2021-09-18 14:50:20 -04:00
Joey Castillo
5ff4a88374 add a new deep sleep mode alongside backup mode 2021-09-18 14:50:20 -04:00
Joey Castillo
d97e74058f fix USB VID/PID 2021-09-18 14:03:46 -04:00
Joey Castillo
5a53916f0e first steps toward supporting alternate board pinouts 2021-09-13 16:44:07 -04:00
Joey Castillo
b22915431b add method for detecting low battery 2021-08-31 19:02:44 -04:00
Joey Castillo
fbd9ae4b67 run watch at 4 MHz unless USB is enabled 2021-08-30 17:35:47 -04:00
Joey Castillo
b0845cc3f1 fix typo 2021-08-30 14:37:14 -04:00
Joey Castillo
53053ad89a SIMPLIFY! Always run the main clock at 8 MHz 2021-08-30 14:03:43 -04:00
Joey Castillo
6353d25d46 big PWM refactor: drive both LEDs and buzzer from TCC 2021-08-29 17:40:44 -04:00
Joey Castillo
ef0ed276a5 handle tinyusb device tasks on a timer, allows delays in app 2021-08-28 19:53:12 -04:00
Joey Castillo
27e3863a05 add alternate _write for debugging USB issues 2021-08-28 19:44:52 -04:00
Joey Castillo
048b5c1d3f force sending data after a _write 2021-08-28 19:34:31 -04:00
Joey Castillo
3e45de7dea implement USB console 2021-08-28 13:55:17 -04:00
Joey Castillo
d09d3c3c95 external interrupt refactor: allow enabling in watch library functions 2021-08-25 12:15:58 -06:00
Joey Castillo
67b749f3af refactor: break out different areas of functionality 2021-08-23 08:11:49 -06:00