Commit Graph

92 Commits

Author SHA1 Message Date
King Kévin 57998de65a use 48 LEDs instead of 60 for a particular clock 2016-04-05 09:53:50 +02:00
King Kévin 158a1717ab fix color documentation 2016-04-04 22:16:34 +02:00
King Kévin 1c47317f60 add documentation about battery voltage display 2016-04-04 22:14:50 +02:00
King Kévin c4cd662a19 don't show voltage if battery not connected 2016-04-04 22:11:48 +02:00
King Kévin cb1c160753 add battery voltage display on LED 2016-04-04 22:10:13 +02:00
King Kévin 3864026633 fix brightness setting 2016-04-04 21:52:11 +02:00
King Kévin 2b603c3363 improve LED bightness calculation 2016-04-04 21:33:30 +02:00
King Kévin 3439c2d7ed fix clock frequency documentation 2016-04-04 20:04:06 +02:00
King Kévin a8b37de546 move main page to README and fix documentation 2016-04-04 19:55:27 +02:00
King Kévin d91507f63e fix: remove completed todo 2016-04-04 19:15:44 +02:00
King Kévin 56c2a8ce92 add main documentation 2016-04-04 18:08:13 +02:00
King Kévin 2c0177c24b adjust LED brightness depending on ambient luminosity measured by photo-resistor on ADC 2016-04-04 11:32:26 +02:00
King Kévin e16d7ae476 use ADC regular group for convertion 2016-04-04 10:52:31 +02:00
King Kévin f89a9b8ea6 use internal RTC counter 2016-04-03 21:50:22 +02:00
King Kévin a07e287865 use internal RTC with our tick speed 2016-04-03 21:29:04 +02:00
King Kévin 28f2c1fbe5 switched from system board with external RTC to blue pill 2016-04-03 17:36:04 +02:00
King Kévin 352b3664f9 read battery voltage 2016-04-03 15:39:55 +02:00
King Kévin e50ab14626 improve pattern generation for the SPI for the WS2812b LED 2016-03-28 18:55:32 +02:00
King Kévin b4cda407e2 set softer gamma correction 2016-03-28 18:54:50 +02:00
King Kévin 5430bdc0c0 fix index corruption race condition 2016-03-28 17:27:02 +02:00
King Kévin 456ca4def2 add full hour animation 2016-03-28 17:01:39 +02:00
King Kévin 3914df5590 add gamma correction 2016-03-28 16:39:11 +02:00
King Kévin 3ea5f327b8 add math library when linking 2016-03-28 16:37:34 +02:00
King Kévin 111c0a5455 use timer to count ticks based on square wave output 2016-03-27 23:35:39 +02:00
King Kévin 06d7e0fda0 fix typo 2016-03-26 20:12:18 +01:00
King Kévin 5879eeea71 add setting time with user command 2016-03-26 19:48:25 +01:00
King Kévin 6edccc845d improve: set only LED if changed 2016-03-26 14:58:21 +01:00
King Kévin c8e5c4f7fd red seconds LED don't clear other blue hout and green minutes LEDs 2016-03-26 14:40:36 +01:00
King Kévin 62066fe980 use interrupt to reliably increment time 2016-03-26 14:34:55 +01:00
King Kévin 2d60475b81 make square wave isr optional 2016-03-25 22:52:36 +01:00
King Kévin 666dc51a21 add todos 2016-03-25 20:27:42 +01:00
King Kévin eb8094f2fb use 4096 Hz square wave 2016-03-25 20:24:46 +01:00
King Kévin d674488e2a minor cleanup 2016-03-25 19:19:34 +01:00
King Kévin 0fe1994cc9 use square wave output to update time 2016-03-25 18:00:44 +01:00
King Kévin 80f106205e compile when headers change 2016-03-25 17:59:37 +01:00
King Kévin 2b2cd122f7 poll and update time 2016-03-25 14:15:48 +01:00
King Kévin b5134bb498 set time on UART entry 2016-03-25 13:57:56 +01:00
King Kévin bc30ef0daa show RTC time on LEDs 2016-03-25 13:17:48 +01:00
King Kévin 0d72bb6411 document board GPIOs 2016-03-25 13:16:27 +01:00
King Kévin 6f26bd0e96 document static variables/methods 2016-03-25 11:42:41 +01:00
King Kévin d171eaa2bc bug: interrupts flag are not cleared; fix: don't use interrupts (not worth the complexity for this application) 2016-03-24 10:59:03 +01:00
King Kévin 3a0d9e6186 add doxygen documentation 2016-03-24 10:37:42 +01:00
King Kévin d6f3efb001 use interrupt so to sleep instead of busy wait 2016-03-23 10:41:30 +01:00
King Kévin a421098cf7 remove duplicate warning 2016-03-23 10:19:51 +01:00
King Kévin 18ad87ab15 add Wpedantic 2016-03-23 09:57:02 +01:00
King Kévin 6a64bc876c add RTC write time functions 2016-03-23 09:52:53 +01:00
King Kévin 721b56e657 add RTC write seconds, read/write oscillator 2016-03-23 09:17:43 +01:00
King Kévin dd2c35a956 add rtc_read_time to read time at once 2016-03-23 08:09:52 +01:00
King Kévin d00c20ffb0 show time from RTC 2016-03-23 07:50:53 +01:00
King Kévin 3cc04f7499 add read minutes, hours, day, date, month, and year from RTC IC 2016-03-22 22:07:36 +01:00