Commit Graph

169 Commits

Author SHA1 Message Date
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
King Kévin dc9ddc76a7 read specific address over I2C, read seconds, use doxygen documentation 2016-03-22 11:16:47 +01:00
King Kévin 493108d909 I2C read example implemented for RTC IC 2016-03-22 09:54:25 +01:00
King Kévin 7347a3dd8f animation to set initial time 2016-02-24 10:33:21 +01:00
King Kévin 9747b98dfb also show seconds 2016-02-23 23:56:04 +01:00
King Kévin 29acf424f7 fix time display 2016-02-23 23:38:08 +01:00
King Kévin 98ea89112a modify how to show time (more code, but more readable) 2016-02-23 22:03:52 +01:00
King Kévin 5379d653c9 show time hours and minutes 2016-02-23 21:52:00 +01:00
King Kévin 02658f2c45 show hour time with gradient 2016-02-23 20:28:55 +01:00
King Kévin 45c5b1252f add pinout comment 2016-02-23 20:28:03 +01:00
King Kévin 955afd024d use system board 2016-02-23 20:27:48 +01:00
King Kévin c40e097015 add function to display hour 2016-02-19 11:31:30 +01:00
King Kévin 2a7d921d1a add clock hours mark demo 2016-02-18 11:34:08 +01:00
King Kévin a5818ebe07 add simple led demo 2016-02-18 11:02:28 +01:00
King Kévin 3cb09b472c fix multiple rules for same target 2016-02-18 10:55:49 +01:00
King Kévin 6954ceea8e remove un-used library 2016-02-18 10:42:11 +01:00
King Kévin 618de224e0 add all common changes, files, and libraries from previous project 2016-02-18 10:39:08 +01:00
King Kévin db26607b2d add firmware template description 2016-01-29 12:12:04 +01:00
King Kévin 5b4df1bc8a user button on maple mini can be used 2016-01-29 11:25:30 +01:00
King Kévin aa30d0db52 can flash using DFU even if sofware reset is not possible 2016-01-29 11:07:02 +01:00
King Kévin b1a9b811ba fix port 2016-01-29 11:06:21 +01:00
King Kévin af0bc91916 fix disconnect time 2016-01-29 10:40:00 +01:00
King Kévin f5b86efdb4 use DFU an main flashung method 2016-01-29 00:36:56 +01:00
King Kévin 9c19273ecd add USB disconnect functionnality for maple mini to force re-enumerate 2016-01-29 00:35:54 +01:00