kohacraft Lab
/
kc_matrixclock_withRTC
Dot Matrix LED clock with RTC ver1.0
Diff: TLC5940.cpp
- Revision:
- 1:5577d93280da
- Parent:
- 0:c872b97ce7ea
- Child:
- 3:179ec78e9158
--- a/TLC5940.cpp Tue Aug 11 00:56:37 2015 +0000 +++ b/TLC5940.cpp Tue Aug 11 05:02:15 2015 +0000 @@ -25,7 +25,7 @@ // 0 ディスエーブル // 1~255 分周値 // 31:8 - - 予約済み - LPC_SYSCON->CLKOUTDIV |= 1; // 1分周=分周しない + LPC_SYSCON->CLKOUTDIV |= 2; // 1分周=分周しない driver.format (6,0); @@ -79,6 +79,6 @@ driver.format (1,0); driver.write (0); driver.format (12,0); - wait_us(85); //4096階調のために必要な時間 4096/48MHz + wait_us(85*2); //4096階調のために必要な時間 4096/48MHz } \ No newline at end of file