[Kernel Porting] Dot matrix 표정다른 스마일 2초반복
작업 환경-메인 OS : Windows 8.1K(Intel Core i5-4590)-작업 OS : Ubuntu 14.04.5 LTS 64bit(VirtualBox)-장 비 명 : Hybus-Smart4412 dot6.c#include #include #include #define dot "/dev/dot" int main(){int dot_d,i;unsigned char zero[2][8]={{0x00, 0x42, 0xA5, 0xA5, 0x00, 0x42, 0x3C, 0x00},{0x00, 0x00, 0xE7, 0x00, 0x00, 0x3C, 0x42, 0x00}};dot_d = open(dot, O_RDWR);if(dot_d 속도를 115200으로 설정- Hybus-Smart4412 장비 부팅- 메뉴 ..
더보기
[Kernel Porting] Dot matrix A~Z 찍어보기
작업 환경-메인 OS : Windows 8.1K(Intel Core i5-4590)-작업 OS : Ubuntu 14.04.5 LTS 64bit(VirtualBox)-장 비 명 : Hybus-Smart4412 dot2.c#include #include #include #define dot "/dev/dot" int main(){int dot_d,i;unsigned char alpha[26][8]={{0x3C, 0x66, 0x66, 0x66, 0x7E, 0x66, 0x66, 0x00}, //A{0x7C, 0x66, 0x66, 0x7C, 0x66, 0x66, 0x7C, 0x00}, //B{0x3C, 0x66, 0x60, 0x60, 0x60, 0x66, 0x3C, 0x00}, //C{0x78, 0x6C, 0x6..
더보기
[Kernel Porting] Dot matrix 1~9 찍어보기
작업 환경-메인 OS : Windows 8.1K(Intel Core i5-4590)-작업 OS : Ubuntu 14.04.5 LTS 64bit(VirtualBox)-장 비 명 : Hybus-Smart4412 dot1.c#include#include#include #define dot "/dev/dot" int main(){int dot_d , i;unsigned char num[10][8] ={{0x3C, 0x66, 0x66, 0x66, 0x66, 0x66, 0x3C, 0x00}, //zero{0x18, 0x38, 0x78, 0x18, 0x18, 0x18, 0x7E, 0x00}, //one{0x3C, 0x66, 0x06, 0x1C, 0x30, 0x60, 0x7E, 0x00}, //two{0x3C, 0x6..
더보기