Commit Graph
100 Commits
Author SHA1 Message Date
Joey Castillo cea0cc46ae Merge branch 'main' into halloween 2021-10-26 16:54:07 -04:00
Joey Castillo 88f41b12fc don't destroy our temperature log when waking from sleep 2021-10-25 18:32:59 -04:00
Joey Castillo f98bc9bb4e steps toward SPI support in watch library 2021-10-25 16:06:08 -04:00
Joey Castillo 22c072ac3f Merge branch 'main' into more-asf-files 2021-10-25 14:52:40 -04:00
Joey Castillo badb4ba909 new batch of sensor boards 2021-10-25 14:52:15 -04:00
Joey Castillo c8041627ee movement temperature face: only enable thermistor when reading data 2021-10-23 18:15:22 -04:00
Joey Castillo 8475ffcd7a movement: first crack at background tasks API 2021-10-23 17:55:19 -04:00
Joey Castillo ee1b3c8780 fix typo 2021-10-23 16:44:20 -04:00
Joey Castillo 27f699af80 WIP: thermistor data logger 2021-10-23 16:23:36 -04:00
Joey Castillo 13d6ea10d7 fix name of ifdef in thermistor readout face 2021-10-23 16:14:03 -04:00
Joey Castillo 8f6cd8b290 move weekday lookup to new utilities file 2021-10-23 16:13:11 -04:00
Joey Castillo e3416272cb WIP 2021-10-22 23:55:06 -04:00
Joey Castillo f1a706792e movement: add character set demo 2021-10-21 17:28:59 -04:00
Joey Castillo 4df23ea9f9 typo in documentation: all five pins are analog capable 2021-10-21 15:10:06 -04:00
Joey Castillo b88cd0cd7e movement: add thermistor readout face 2021-10-21 13:13:46 -04:00
Joey Castillo 38a2dff234 more accurate names for deep sleep and shallow sleep modes 2021-10-20 13:45:22 -04:00
Joey Castillo 1020dd7898 movement: fix preferences glitch, add some notes 2021-10-20 10:36:55 -04:00
Joey Castillo 148a47f76a movement: add tick animation in sleep mode 2021-10-19 15:37:08 -04:00
Joey Castillo 75be621914 movement settings: add timeout and LED duration 2021-10-19 13:46:25 -04:00
Joey Castillo 52c5747d2e getting the sensor watch dev board working 2021-10-19 10:14:24 -04:00
Joey Castillo 3271009857 fix typos 2021-10-18 15:36:39 -04:00
Joey Castillo 77951ccda1 add readme for movement app 2021-10-18 15:11:01 -04:00
Joey Castillo 86d316008c movement: remove faster sleep / timeout intervals 2021-10-18 13:55:30 -04:00
Joey Castillo 1db9e18b92 pulsometer: rearrange switch for clarity 2021-10-18 13:55:30 -04:00
Joey Castillo 93624f0b69 add timeout event to give faces a chance to resign 2021-10-18 13:55:22 -04:00
Joey Castillo 8dbbe92a9b pulsometer: make type more c-like 2021-10-18 11:27:36 -04:00
Joey Castillo b4d4f62ba8 pulsometer: reset tick in resign function 2021-10-18 11:15:58 -04:00
Joey Castillo c27dbc779b fix misspelling of pulsometer 2021-10-16 16:51:36 -04:00
Joey Castillo 05fe055f99 automatically determine number of watch faces 2021-10-16 16:34:12 -04:00
Joey Castillo 0cfb37c671 early work on background tasks, documentation 2021-10-16 16:03:52 -04:00
Joey Castillo 458ebf6987 remove unimplemented settings for now 2021-10-16 13:48:16 -04:00
Joey Castillo 69397e9b0f implement led duration setting 2021-10-16 13:47:42 -04:00
Joey Castillo 3e539a9e63 screensaver mode is now low energy mode 2021-10-16 13:40:17 -04:00
Joey Castillo 8f5de18b94 clarify property names 2021-10-16 13:28:52 -04:00
Joey Castillo d36331ce4e rename types to be more c-like 2021-10-16 13:26:23 -04:00
Joey Castillo d5ac4cb71b widgets are now watch faces 2021-10-16 13:14:52 -04:00
Joey Castillo e8461984d6 launcher is now movement 2021-10-16 12:58:14 -04:00
Joey Castillo 9d4367565b pulseometer: support variable update frequency 2021-10-06 12:09:54 -04:00
Joey Castillo 3516f4295e launcher: clean up structs 2021-10-06 11:17:16 -04:00
Joey Castillo 12ee922135 remove fake / placeholder widgets 2021-10-05 18:03:59 -04:00
Joey Castillo 0f349cb52e add pulseometer widget 2021-10-05 18:03:49 -04:00
Joey Castillo 8372e37bea fix memory leak when waking from screensaver mode 2021-10-05 15:55:34 -04:00
Joey Castillo 83192b3a58 launcher: fix high beep on return to clock 2021-10-04 15:27:29 -04:00
Joey Castillo 58cf2e7585 launcher: add widget for setting the time 2021-10-04 15:20:28 -04:00
Joey Castillo 110c81cbed preferences widget: fix alignment of 'never' 2021-10-04 14:12:39 -04:00
Joey Castillo 95e95bb980 launcher: fix flickering in preferences widget 2021-10-04 14:12:39 -04:00
Joey Castillo 74e8662509 launcher: track can_sleep between runloop invocations 2021-10-04 14:12:39 -04:00
Joey Castillo 0b60edb265 launcher: fix typo 2021-10-04 14:12:39 -04:00
Joey Castillo 0546859073 launcher: improvements to screensaver mode 2021-10-04 14:12:39 -04:00
Joey Castillo 7f8973a8cc slcd: add more special cases 2021-10-04 14:12:39 -04:00
Joey Castillo c1ec7734c9 launcher: let widgets prevent sleep 2021-10-04 09:52:07 -04:00
Joey Castillo 51e2f0d77d event type / subsecond refactor 2021-10-04 00:38:09 -04:00
Joey Castillo a6115de94d disable screensaver interrupt on wake 2021-10-03 23:39:52 -04:00
Joey Castillo 4300dff616 launcher: first crack at low power 'screensaver' mode 2021-10-03 20:47:15 -04:00
Joey Castillo 64485b4255 implement beep / silent preference 2021-10-03 19:16:14 -04:00
Joey Castillo a6d8a09850 avoid calling deactivate on widget 0 before it's activated 2021-10-03 19:15:47 -04:00
Joey Castillo 27df51d40a launcher app with clock and preferences menu 2021-10-03 19:08:40 -04:00
Joey Castillo 8d5280a34f slcd: add function to blank entire screen 2021-10-03 18:48:55 -04:00
Joey Castillo 95ea714d61 basic launcher switching between two widgets 2021-10-03 14:26:17 -04:00
Joey Castillo 399caa2582 more wip launcher stuff 2021-10-03 12:31:51 -04:00
Joey Castillo 624ff19580 wip: late-night untested launcher app musings 2021-10-03 11:45:06 -04:00
Joey Castillo 84c0fbfa2a slcd: add autonomous blinking and animation 2021-10-01 20:53:32 -04:00
Joey Castillo 15ae7ab84b add beep to starter app 2021-09-30 16:32:59 -04:00
Joey Castillo 20db34a9c0 add fractional beats to beat time app 2021-09-30 16:32:30 -04:00
Joey Castillo d72a2ff6a1 fix LED resistor values 2021-09-30 16:19:11 -04:00
Joey Castillo 7503c86102 add lcd feather 2021-09-30 16:17:40 -04:00
Joey Castillo 1163041624 update existing apps to use new RTC API 2021-09-28 19:53:29 -04:00
Joey Castillo 6334af0136 tweak to API nomenclature: tick happens once a second, other interrupts are periodic 2021-09-28 19:18:42 -04:00
Joey Castillo 9da9dfb7b2 rtc: support periodic ticks at intervals from 1 to 128 Hz 2021-09-28 15:13:09 -04:00
Joey Castillo 39a17c99b9 overdue refactor: compile all watch modules separately 2021-09-28 14:42:56 -04:00
Joey Castillo 152ba8aec6 simplification: return date/time in same format as clock register 2021-09-28 11:06:27 -04:00
Joey Castillo b353e47506 remove unused ASF code 2021-09-27 17:51:52 -04:00
Joey Castillo a65dcf1ec8 WIP: refactor RTC to use clock mode directly 2021-09-27 17:42:27 -04:00
Joey Castillo 7945f4c4a3 add warning about external wake on old board rev 2021-09-23 17:27:41 -04:00
Joey Castillo a23901f843 final deep sleep refactor: retain RAM, call it shallow sleep mode 2021-09-23 14:57:30 -04:00
Joey Castillo fd5e8046d0 support alternate LCD pinouts 2021-09-21 15:50:43 -04:00
Joey Castillo 24e160611e add more atmel studio framework code 2021-09-20 17:37:55 -04:00
Joey Castillo 63322a3b7f add WIP dev board 2021-09-20 17:20:12 -04:00
Joey Castillo 9b0605c1b9 add gerbers for board revision 5 2021-09-20 10:15:16 -04:00
Joey Castillo 0f4f709ab1 clean up PCB folder 2021-09-20 09:30:50 -04:00
Joey Castillo b3bb3fe2a7 add board definition for old prototype 2021-09-19 19:20:19 -04:00
Joey Castillo bfd7a6f62f sensor board concepts 2021-09-18 15:24:06 -04:00
Joey Castillo 8184b08bb6 PCB revision 5 2021-09-18 15:22:54 -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 ee7ae2d345 move buzzer demo to apps folder 2021-09-18 14:03:10 -04:00
Joey Castillo 07420e6ead move apps to subdirectory, add relative path support to Makefile 2021-09-16 15:40:01 -04:00
Joey Castillo 21a627aad6 lcd: add special case for T in position 1 (fixes #10) 2021-09-14 15:19:21 -04:00
Joey Castillo cb98f29e57 more work on alternate board pinouts 2021-09-14 15:12:30 -04:00
Joey Castillo e4c1700806 remove unused ASF config files 2021-09-14 01:07:02 -04:00
Joey Castillo 05c816960b deprecate debug UART 2021-09-13 23:39:24 -04:00
Joey Castillo 5a53916f0e first steps toward supporting alternate board pinouts 2021-09-13 16:44:07 -04:00
Joey Castillo 5cd6b1afc7 improve consistency of function names 2021-09-13 13:41:28 -04:00
Joey Castillo cd935193e3 remove unused ASF code 2021-09-13 13:21:33 -04:00
Joey Castillo 66d45c521e implement ADC functionality 2021-09-13 09:48:31 -04:00
Joey Castillo 71e411d860 handle watch variant with red/blue LED 2021-08-31 20:29:13 -04:00
Joey Castillo a232999e93 update deprecated functions in BME280 demo app 2021-08-31 19:39:37 -04:00
Joey Castillo 637964ae4b simplify: always use the TCC to drive the LEDs 2021-08-31 19:38:06 -04:00
Joey Castillo b22915431b add method for detecting low battery 2021-08-31 19:02:44 -04:00