typedef struct { char Identifier[6]; char FontName[8]; unsigned char XSize; unsigned char YSize; unsigned char CodeType; unsigned char Tnum; // number of MojiCode Entory struct { unsigned short Start; unsigned short End; } Block[]; } font_head; |
test2: test2.c gcc -o test2 -lwiringPi test2.c |
ls Makefile test2.c |
make gcc -o test2 -lwiringPi test2.c |
ls Makefile test2 test2.c |
ラズパイに秋月電子のLEDマトリックスを接続して漢字を表示 |
iconv -f utf-8 -t sjis kanji.utf-8 -o kanji.sjis |
sudo ./test2 kanji.sjis |