본문 바로가기

[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.. 더보기
[Kernel Porting] Dot matrix 점멸하기 작업 환경-메인 OS : Windows 8.1K(Intel Core i5-4590)-작업 OS : Ubuntu 14.04.5 LTS 64bit(VirtualBox)-장 비 명 : Hybus-Smart4412 dot.c#include#include#include #define dot "/dev/dot" int main(){int dot_d;unsigned char c[8] = {0x80 , 0x80 , 0x00 , 0x00, 0x00 , 0x00 , 0x00 , 0x00}; dot_d = open(dot , O_RDWR);if(dot_d 시리얼 포트 -> 속도를 115200으로 설정- Hybus-Smart4412 장비 부팅- 메뉴 -> 전송 -> ZMODEM -> 보내기 에서 실행파일 선택- chmod 7.. 더보기
[Kernel Porting] 0~9 , A~Z 디폴트값 확인하기 작업 환경-메인 OS : Windows 8.1K(Intel Core i5-4590)-작업 OS : Ubuntu 14.04.5 LTS 64bit(VirtualBox)-장 비 명 : Hybus-Smart4412 ieb_dot.c/* ~/Smart4412/Development/Source/Kernel/kernel_4412/drivers/Exynos4412TKU_IEB/ieb_dot.c에 디폴트로 정의 되어있음*/ {0x3C, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x3C}, //0{0x08, 0x18, 0x08, 0x08, 0x08, 0x08, 0x08, 0x1C}, //1{0x1C, 0x22, 0x02, 0x02, 0x1C, 0x20, 0x20, 0x3E}, //2{0x1C, 0x.. 더보기