kohacraft Lab
/
kc_matrixclock
dot Matrix Led Clock with TLC5940
Revision 4:a7ed06634621, committed 2015-07-29
- Comitter:
- kohacraft
- Date:
- Wed Jul 29 06:45:25 2015 +0000
- Parent:
- 3:25540a08a8d8
- Commit message:
- dot Matrix Led Clock
Changed in this revision
TLC5940.lib | Show annotated file Show diff for this revision Revisions of this file |
font.h | Show annotated file Show diff for this revision Revisions of this file |
diff -r 25540a08a8d8 -r a7ed06634621 TLC5940.lib --- a/TLC5940.lib Wed Jul 29 06:37:55 2015 +0000 +++ b/TLC5940.lib Wed Jul 29 06:45:25 2015 +0000 @@ -1,1 +1,1 @@ -http://developer.mbed.org/users/slisgrinder/code/TLC5940/#74518ce582f5 +https://developer.mbed.org/users/kohacraft/code/Kc_TLC5940/#2a7734c01842
diff -r 25540a08a8d8 -r a7ed06634621 font.h --- a/font.h Wed Jul 29 06:37:55 2015 +0000 +++ b/font.h Wed Jul 29 06:45:25 2015 +0000 @@ -1,4 +1,4 @@ - +//数字のフォントと、フォント生成コード #define font001 00000010 #define font002 00000101 @@ -99,27 +99,11 @@ #define fontc07 00000000 #define fontc08 00000000 -#define font111 00000000 -#define font112 00000000 -#define font113 00000000 -#define font114 00000000 -#define font115 00000000 -#define font116 00000000 -#define font117 00000000 -#define font118 00000000 - -#define font121 00000000 -#define font122 00000000 -#define font123 00000000 -#define font124 00000000 -#define font125 00000000 -#define font126 00000000 -#define font127 00000000 -#define font128 00000000 unsigned char font[11][8]; - +//ここにコードを書いてすみません +//フォントは別にしたかったのですが、面倒なのでここに書かせてもらいました //数字の01とした2進数を16進数として数値に変換する unsigned char makeOneFont( int inData ) {