kohacraft Lab
/
kc_matrixclock_withRTC
Dot Matrix LED clock with RTC ver1.0
Diff: main.cpp
- Revision:
- 3:179ec78e9158
- Parent:
- 2:9c618daf65f5
diff -r 9c618daf65f5 -r 179ec78e9158 main.cpp --- a/main.cpp Tue Aug 11 08:05:41 2015 +0000 +++ b/main.cpp Tue Aug 11 08:59:44 2015 +0000 @@ -168,14 +168,12 @@ //TLC5940初期設定 setup ( num_ics ); - wait(0.2); - + //DS3231初期設定 ds3231_cntl_stat_t data = {0,0}; //SQWに1秒のクロックを出力する rtc.set_cntl_stat_reg( data ); secInt.rise( &secUp ); //RTCの1秒クロックでカウントアップする - wait(0.2); //DS3231に記録されている時間を読み出す ds3231_time_t time;