Commit Graph

65 Commits

Author SHA1 Message Date
King Kévin 46045d51c5 fix DCF77 day calculation 2016-07-31 21:56:26 +02:00
King Kévin 2d26686233 fix name to WS2812B 2016-06-12 23:11:37 +02:00
King Kévin 9f938c1303 fix typo 2016-06-11 20:13:58 +02:00
King Kévin 28fe6d0134 date add sanity check (corruption happens) 2016-06-11 20:12:57 +02:00
King Kévin c679a74ba7 fix typo 2016-05-09 10:48:25 +02:00
King Kévin 7c6b43d464 fix parity check 2016-05-06 11:18:11 +02:00
King Kévin 67d4d8e8db get rid of @brief 2016-05-05 23:47:50 +02:00
King Kévin 77f2ffc947 add better comment 2016-05-05 23:35:35 +02:00
King Kévin a4ce4ae6b0 add better comment 2016-05-05 23:34:37 +02:00
King Kévin 4493f34d22 add time recording and decoding 2016-05-05 23:26:21 +02:00
King Kévin 79bb509c83 make year of the century 2016-05-05 23:25:55 +02:00
King Kévin 5a43d4d48c add basic DCF77 pulse detection 2016-05-05 18:03:07 +02:00
King Kévin ad84ae1874 fix comments 2016-05-01 20:56:40 +02:00
King Kévin d479695a69 make API more consistent and fix IO configuration for I2C 2016-05-01 20:29:03 +02:00
King Kévin 7b4abb24cb fix IO configuration for SPI 2016-05-01 20:27:42 +02:00
King Kévin efaf85e3ab fix documentation 2016-05-01 15:11:33 +02:00
King Kévin 9594304c46 make API more consistent 2016-05-01 15:03:41 +02:00
King Kévin b60135d54a move defines to header 2016-05-01 14:39:05 +02:00
King Kévin f16994617c protect macro calculation 2016-04-30 12:35:53 +02:00
King Kévin 5665f035c4 a tick counter 2016-04-30 12:11:38 +02:00
King Kévin 39d17b4940 add square wave tick counter using timer 2016-04-30 12:03:34 +02:00
King Kévin 6b34d98394 remove bug comment 2016-04-17 12:12:27 +02:00
King Kévin 715bfd784d fix double USB transmit 2016-04-17 12:11:12 +02:00
King Kévin 72b3d5188b don't block on led transmission 2016-04-16 12:12:47 +02:00
King Kévin 8f8a086eee use LENGTH instead of sizeof for array indexes 2016-04-15 11:59:14 +02:00
King Kévin ffee985136 decrease buffer size 2016-04-15 09:13:43 +02:00
King Kévin 8d22030107 try to fix lost USB TX packet failed, but code improved 2016-04-14 23:40:38 +02:00
King Kévin 281c9924f6 fix enable USART port 2016-04-13 21:00:00 +02:00
King Kévin df92838d8b fix use correct buffer size 2016-04-12 18:47:22 +02:00
King Kévin 6bced0adea force re-enumerate for clean start 2016-04-12 09:25:04 +02:00
King Kévin 9e69d8f302 no need to re-enumerate since there is no bootloader 2016-04-11 23:07:05 +02:00
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 d91507f63e fix: remove completed todo 2016-04-04 19:15:44 +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 5430bdc0c0 fix index corruption race condition 2016-03-28 17:27:02 +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 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 0fe1994cc9 use square wave output to update time 2016-03-25 18:00:44 +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 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 3cc04f7499 add read minutes, hours, day, date, month, and year from RTC IC 2016-03-22 22:07:36 +01:00