질문게시판 > atmega128a 디지털시계 문의드립니다

TODAY1,289 TOTAL2,176,597
사이트 이용안내
Login▼/회원가입
최신글보기 질문게시판 기술자료 동영상강좌

아두이노 센서 ATMEGA128 PWM LED 초음파 AVR 블루투스 LCD UART 모터 적외선


BASIC4MCU | 질문게시판 | atmega128a 디지털시계 문의드립니다

페이지 정보

작성자 아트메가잘하고싶다 작성일2019-05-23 18:08 조회3,361회 댓글0건

본문

	

헤더파일에 있는 함수를 따서 소스파일에서 코딩을해보았습니다...

 

 


#include <avr/io.h>
#include "OK-128LCD.h"
#include "OK-128TFT.h"
#include "OK-128TFT_large.h"


prog_uchar S_font_large[128][210] = {
{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},
{
0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,0x00, //0
0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,0x00
}
,
{
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, //1
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
}
,
{
0x00,0x00,0x00,0x00,0x00,0x00,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,0x00, //2
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0xFE,0xFE,0xFE,0x0E,0x0E,0x0E,0x0E,0x0E,0x0E,0x0E,0x0E,0x0E,0x0E,0x0E,0x0E,0x0F,0x0F,0x0F,0x00,0x00,0x00,0x00,0x00,0x00,
0X00,0X00,0X00,0X00,0X00,0X00,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0X00,0X00,0X00,0X00,0X00,0X00,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0x00,0x00,0x00,0x00,0x00,0x00
}
,
{
0x00,0x00,0x00,0x00,0x00,0x00,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00, //3
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x1C,0x1C,0x1C,0x1C,0x1C,0x1C,0x1C,0x1C,0x1C,0x1C,0x1C,0x1C,0x1C,0x1C,0x1C,0x1C,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00
}
,
{
0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00, //4
0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x1F,0x1F,0x1F,0x1C,0x1C,0x1C,0x1C,0x1C,0x1C,0x1C,0x1C,0x1C,0x1C,0x1C,0x1C,0x1C,0x1C,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00
}
,
{
0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x00,0x00,0x00,0x00,0x00, //5
0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x1F,0x1F,0x1F,0x1C,0x1C,0x1C,0x1C,0x1C,0x1C,0x1C,0x1C,0x1C,0x1C,0x1C,0x1C,0x1C,0x1C,0xFC,0xFC,0xFC,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00
}
,
{
0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, //6
0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0x1C,0x1C,0x1C,0x1C,0x1C,0x1C,0x1C,0x1C,0x1C,0x1C,0x1C,0x1C,0x1C,0x1C,0xFC,0xFC,0xFC,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00
}
,
{
0x00,0x00,0x00,0x00,0x00,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00, //7
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00
}
,
{
0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00, //8
0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0x1C,0x1C,0x1C,0x1C,0x1C,0x1C,0x1C,0x1C,0x1C,0x1C,0x1C,0x1C,0x1C,0x1C,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00
}
,
{
0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00, //9
0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x1F,0x1F,0x1F,0x1C,0x1C,0x1C,0x1C,0x1C,0x1C,0x1C,0x1C,0x1C,0x1C,0x1C,0x1C,0x1C,0x1C,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,
},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},
};


prog_uchar X_font_large[128][168] =
{

{
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, //세미콜론
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x01,0x01,0x01,0x01,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x01,0x01,0x01,0x01,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0x80,0x80,0x80,0x80,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x3F,0x3F,0x3F,0x3F,0x3F,0x3F,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
}

};

void TFT_landscape_largey(void);   // set landscape mode
void TFT_string_largey(U08 xChar, U08 yChar, U16 colorfore, U16 colorback, char *str); // write TFT-LCD string
void TFT_English_largey(U08 code);
void TFT_0x_hexadecimal_largey(U32 number, U08 digit);
void DS1307_initialize(void);   // initialize DS1307 RTC
unsigned char DS1307_read(U08 address);  // read DS1307
void DS1307_write(U08 address, U08 TxD); // write DS1307
void Display_time(void);   // display DS1307 time
unsigned char BCD_increment(U08 number); // BCD increment
unsigned char BCD_decrement(U08 number); // BCD decrement
void Cursor_left(void);    // go cursor left
void Cursor_right(void);               // go cursor right
void Increment(void);                  // increment time
void Decrement(void);                  // decrement time


unsigned char year, month, date, weekday, hour, minute, second;

int main(void)
{
  unsigned char key;

  MCU_initialize();                             // initialize MCU and kit
  Delay_ms(50);                                 // wait for system stabilization
  LCD_initialize();                             // initialize text LCD module
  TFT_initialize();    // initialize TFT-LCD module
  //Beep();
 
 
  LCD_string(0x80," OK-128TFT V1.0 ");  // display title
  LCD_string(0xC0,"   Exp19_2R.c    ");

  TFT_cursor(White);    // display cursor by White color
  Xcursor = 17;
  Ycursor = 21;
  TFT_landscape( );

  TFT_string( 10, 3, Violet, Black," 홍길동의 디지털 시계 "); // display title
  TFT_string_large( 9,7, Silver,  Black,  "2019/05/22 ");
  TFT_string_large( 7,11, Orange,Black,  "(수요일)");
  TFT_string_large( 16,11, LightGrey, Black,  "오후 ");
  TFT_string_large( 10,18, Green, Black,  "01:00:00");
  TFT_string_large( 0,27, Magenta, Black,  "*******(제작:홍길동)*******");
 

  DS1307_initialize();    // initialize DS1307 RTC

  while(1)
    { key = Key_input();   // key input

      switch(key)
        { case KEY1 : Cursor_left();  // if KEY1, go cursor left
                      break;
          case KEY2 : Cursor_right();  // if KEY2, go cursor right
                      break;
          case KEY3 : Increment();  // if KEY3, increment time
                      break;
   case KEY4 : Decrement();  // if KEY4, decrement time
                      break;
          default   : Display_time();  // display time
               break;
        }
    }
}

/* ---------------------------------------------------------------------------- */
/*  디지털 시계 관련 함수      */
/* ---------------------------------------------------------------------------- */

void DS1307_initialize(void)   /* initialize DS1307 RTC */
{
  TWBR = 18;     // 100kHz(TWBR=18, TWPS=1)
  TWSR = 0x01;

  second =  DS1307_read(0x00);   // if CH = 1, initialize
  hour =  DS1307_read(0x02);   // if 24 hour system, initialize

  if(((second & 0x80) == 0x80) || ((hour & 0x40) == 0x00))
    { DS1307_write(0x00, 0x00);   // second = 0x00
      DS1307_write(0x01, 0x00);   // minute = 0x00
      DS1307_write(0x02, 0x12 | 0x40);  // hour = 0x12 AM (12 hour system)
      DS1307_write(0x03, 0x01);   // weekday = 0x01(Sunday)
      DS1307_write(0x04, 0x05);   // date = 0x05
      DS1307_write(0x05, 0x12);   // month = 0x12
      DS1307_write(0x06, 0x10);   // year = 0x2010
    }
}

unsigned char DS1307_read(U08 address)  /* read DS1307 */
{
  unsigned char RxD;

  TWCR = 0xA4;     // START condition
  while(((TWCR & 0x80) == 0x00) || ((TWSR & 0xF8) != 0x08)); // START complete ?

  TWDR = 0xD0;     // SLA+W
  TWCR = 0x84;
  while(((TWCR & 0x80) == 0x00) || ((TWSR & 0xF8) != 0x18)); // SLA+W complete ?

  TWDR = address;    // DS1307 address
  TWCR = 0x84;
  while(((TWCR & 0x80) == 0x00) || ((TWSR & 0xF8) != 0x28)); // address complete ?

  TWCR = 0xA4;     // REPEATED START condition
  while(((TWCR & 0x80) == 0x00) || ((TWSR & 0xF8) != 0x10)); // START complete ?

  TWDR = 0xD1;     // SLA+R
  TWCR = 0x84;
  while(((TWCR & 0x80) == 0x00) || ((TWSR & 0xF8) != 0x40)); // SLA+R complete ?

  TWCR = 0x84;     // read time data with no acknowledge
  while(((TWCR & 0x80) == 0x00) || ((TWSR & 0xF8) != 0x58)); // data complete ?
  RxD = TWDR;     // read data

  TWCR = 0x94;                     // STOP condition
  Delay_us(10);

  return RxD;
}

void DS1307_write(U08 address, U08 TxD)  /* write DS1307 */
{
  TWCR = 0xA4;     // START condition
  while(((TWCR & 0x80) == 0x00) || ((TWSR & 0xF8) != 0x08)); // START complete ?

  TWDR = 0xD0;     // SLA+W
  TWCR = 0x84;
  while(((TWCR & 0x80) == 0x00) || ((TWSR & 0xF8) != 0x18)); // SLA+W complete ?

  TWDR = address;    // DS1307 address
  TWCR = 0x84;
  while(((TWCR & 0x80) == 0x00) || ((TWSR & 0xF8) != 0x28)); // address complete ?

  TWDR = TxD;     // write time data
  TWCR = 0x84;
  while(((TWCR & 0x80) == 0x00) || ((TWSR & 0xF8) != 0x28)); // data complete ?

  TWCR = 0x94;     // STOP condition
  Delay_us(10);
}

void Display_time(void)    /* display DS1307 time */
{
  TFT_xy(9,7); TFT_color(Silver,Black);  // display year
  TFT_hexadecimal_large(0x20, 2);
  year = DS1307_read(0x06);
  TFT_hexadecimal_large(year,2);
  TFT_xy(14,7); TFT_color(Silver,Black);  // display month
  month = DS1307_read(0x05);
  TFT_hexadecimal_large(month,2);
  TFT_xy(17,7); TFT_color(Silver,Black);  // display date
  date = DS1307_read(0x04);
  TFT_hexadecimal_large(date,2);
  weekday = DS1307_read(0x03);   // display weekday
  if(weekday == 0x01)      TFT_string_large(8,11, Orange,Black, "일");
  else if(weekday == 0x02) TFT_string_large(8,11, Orange,Black, "월");
  else if(weekday == 0x03) TFT_string_large(8,11, Orange,Black, "화");
  else if(weekday == 0x04) TFT_string_large(8,11, Orange,Black, "수");
  else if(weekday == 0x05) TFT_string_large(8,11, Orange,Black, "목");
  else if(weekday == 0x06) TFT_string_large(8,11, Orange,Black, "금");
  else if(weekday == 0x07) TFT_string_large(8,11, Orange,Black, "토");
  TFT_xy(10,18); TFT_color(Green,Black);  // display hour
  hour = DS1307_read(0x02);
  TFT_hexadecimal_large(hour & 0x1F,2);
  if((hour & 0x20) == 0x00) TFT_string_large(18,11, LightGrey,Black, "전");
  else                      TFT_string_large(18,11, LightGrey,Black, "후");
  TFT_xy(13,18); TFT_color(Green,Black); // display minute
  minute = DS1307_read(0x01);
  TFT_hexadecimal_large(minute,2);
  TFT_xy(16,18); TFT_color(Green,Black); // display second
  second = DS1307_read(0x00);
  TFT_hexadecimal_large(second & 0x7F,2);
  TFT_xy(19,18); TFT_color(Green,Black); // display home
  TFT_English_large(' ');
}

unsigned char BCD_increment(U08 number)  /* BCD increment */
{
  unsigned char i;

  i = (number >> 4)*10 + (number & 0x0F);       // convert BCD to binary
  i++;                                          // incrment
  i = ((i/10) << 4) + (i % 10);                 // convert binary to BCD
  return i;
}

unsigned char BCD_decrement(U08 number)  /* BCD decrement */
{
  unsigned char i;

  i = (number >> 4)*10 + (number & 0x0F);       // convert BCD to binary
  i--;                                          // decrement
  i = ((i/10) << 4) + (i % 10);                 // convert binary to BCD
  return i;
}

void Cursor_left(void)    /* go cursor left */
{
  if     ((Xcursor == 17) && (Ycursor == 21)) { Xcursor = 14; Ycursor = 21; }
  else if((Xcursor == 14) && (Ycursor == 21)) { Xcursor = 11; Ycursor = 21; }
  else if((Xcursor == 11) && (Ycursor == 21)) { Xcursor =  8; Ycursor = 21; }
  else if((Xcursor ==  8) && (Ycursor == 21)) { Xcursor =  5; Ycursor = 21; }
  else if((Xcursor ==  5) && (Ycursor == 21)) { Xcursor = 14; Ycursor = 16; }
  else if((Xcursor == 14) && (Ycursor == 16)) { Xcursor = 11; Ycursor = 16; }
  else if((Xcursor == 11) && (Ycursor == 16)) { Xcursor =  8; Ycursor = 16; }
  else if((Xcursor ==  8) && (Ycursor == 16)) { Xcursor =  5; Ycursor = 16; }
  else if((Xcursor ==  5) && (Ycursor == 16)) { Xcursor = 17; Ycursor = 21; }
}

void Cursor_right(void)               /* go cursor right */
{
  if     ((Xcursor == 17) && (Ycursor == 21)) { Xcursor =  5; Ycursor = 16; }
  else if((Xcursor ==  5) && (Ycursor == 16)) { Xcursor =  8; Ycursor = 16; }
  else if((Xcursor ==  8) && (Ycursor == 16)) { Xcursor = 11; Ycursor = 16; }
  else if((Xcursor == 11) && (Ycursor == 16)) { Xcursor = 14; Ycursor = 16; }
  else if((Xcursor == 14) && (Ycursor == 16)) { Xcursor =  5; Ycursor = 21; }
  else if((Xcursor ==  5) && (Ycursor == 21)) { Xcursor =  8; Ycursor = 21; }
  else if((Xcursor ==  8) && (Ycursor == 21)) { Xcursor = 11; Ycursor = 21; }
  else if((Xcursor == 11) && (Ycursor == 21)) { Xcursor = 14; Ycursor = 21; }
  else if((Xcursor == 14) && (Ycursor == 21)) { Xcursor = 17; Ycursor = 21; }
}

void Increment(void)                  /* increment time */
{
  if((Xcursor ==  5) && (Ycursor == 16)) // in case of year
    { year = DS1307_read(0x06);
      if(year == 0x99)      year = 0x00;
      else                  year = BCD_increment(year);
      DS1307_write(0x06,year);
    }
  else if((Xcursor == 8) && (Ycursor == 16)) // in case of month
    { month = DS1307_read(0x05);
      if(month == 0x12)     month = 0x01;
      else                  month = BCD_increment(month);
      DS1307_write(0x05,month);
    }
  else if((Xcursor == 11) && (Ycursor == 16)) // in case of date
    { date = DS1307_read(0x04);
      if(date == 0x31)      date = 0x01;
      else                  date = BCD_increment(date);
      DS1307_write(0x04,date);
    }
  else if((Xcursor == 14) && (Ycursor == 16)) // in case of weekday
    { weekday = DS1307_read(0x03);
      if(weekday == 0x07)   weekday = 0x01;
      else                  weekday++;
      DS1307_write(0x03,weekday);
    }
  else if((Xcursor == 5) && (Ycursor == 21)) // in case of AM/PM
    { hour = DS1307_read(0x02);
      if((hour & 0x20) == 0x00) hour |= 0x20;
      else                      hour &= 0xDF;
      DS1307_write(0x02,hour);
    }
  else if((Xcursor == 8) && (Ycursor == 21)) // in case of hour
    { hour = DS1307_read(0x02);
      if((hour & 0x1F) == 0x12) hour = (hour & 0xE0) + 0x01;
      else                      hour = BCD_increment(hour);
      DS1307_write(0x02,hour);
    }
  else if((Xcursor == 11) && (Ycursor == 21)) // in case of minute
    { minute = DS1307_read(0x01);
      if(minute == 0x59)    minute = 0x00;
      else                  minute = BCD_increment(minute);
      DS1307_write(0x01,minute);
    }
  else if((Xcursor == 14) && (Ycursor == 21)) // in case of second
    { second = DS1307_read(0x00);
      if(second == 0x59)    second = 0x00;
      else                  second = BCD_increment(second);
      DS1307_write(0x00,second);
    }
}

void Decrement(void)                  /* decrement time */
{
  if((Xcursor ==  5) && (Ycursor == 16)) // in case of year
    { year = DS1307_read(0x06);
      if(year == 0x00)      year = 0x99;
      else                  year = BCD_decrement(year);
      DS1307_write(0x06,year);
    }
  else if((Xcursor == 8) && (Ycursor == 16)) // in case of month
    { month = DS1307_read(0x05);
      if(month == 0x01)     month = 0x12;
      else                  month = BCD_decrement(month);
      DS1307_write(0x05,month);
    }
  else if((Xcursor == 11) && (Ycursor == 16)) // in case of date
    { date = DS1307_read(0x04);
      if(date == 0x01)      date = 0x31;
      else                  date = BCD_decrement(date);
      DS1307_write(0x04,date);
    }
  else if((Xcursor == 14) && (Ycursor == 16)) // in case of weekday
    { weekday = DS1307_read(0x03);
      if(weekday == 0x01)   weekday = 0x07;
      else                  weekday--;
      DS1307_write(0x03,weekday);
    }
  else if((Xcursor == 5) && (Ycursor == 21)) // in case of AM/PM
    { hour = DS1307_read(0x02);
      if((hour & 0x20) == 0x00) hour |= 0x20;
      else                      hour &= 0xDF;
      DS1307_write(0x02,hour);
    }
  else if((Xcursor == 8) && (Ycursor == 21)) // in case of hour
    { hour = DS1307_read(0x02);
      if((hour & 0x1F) == 0x01) hour = (hour & 0xE0) + 0x12;
      else                      hour = BCD_decrement(hour);
      DS1307_write(0x02,hour);
    }
  else if((Xcursor == 11) && (Ycursor == 21)) // in case of minute
    { minute = DS1307_read(0x01);
      if(minute == 0x00)    minute = 0x59;
      else                  minute = BCD_decrement(minute);
      DS1307_write(0x01,minute);
    }
  else if((Xcursor == 14) && (Ycursor == 21)) // in case of second
    { second = DS1307_read(0x00);
      if(second == 0x00)    second = 0x59;
      else                  second = BCD_decrement(second);
      DS1307_write(0x00,second);
    }
}

 

 

void TFT_landscape_largey(void)    //set landscape mode
{
  TFT_write(0x16, 0x0068);   // MV=1, MX=1, MY=0, BGR=1

  TFT_write(0x02, 0x0000);   // x = 0~319
  TFT_write(0x03, 0x0000);
  TFT_write(0x04, 0x0001);
  TFT_write(0x05, 0x003F);
  TFT_write(0x06, 0x0000);   // y = 0~239
  TFT_write(0x07, 0x0000);
  TFT_write(0x08, 0x0000);
  TFT_write(0x09, 0x00EF);

  XcharacterLimit = 26;    // 40x30 character unit
  YcharacterLimit = 30;
  ScreenMode = 'L';
}

void TFT_string_largey(U08 xChar, U08 yChar, U16 colorfore, U16 colorback, char *str) // write TFT-LCD string
{
  unsigned char ch1;
  unsigned int ch2;

  Xcharacter = xChar;
  Ycharacter = yChar;

  foreground = colorfore;
  background = colorback;

  while(*str)
    { ch1 = *str;
      str++;

      if(ch1 < 0x80)    // English ASCII character
 TFT_English_large(ch1);
      else     // Korean
 { ch2 = (ch1 << 8) + (*str);
          str++;
   ch2 = KS_code_conversion(ch2); // convert KSSM(완성형) to KS(조합형)
   TFT_Korean_large(ch2);
 }
   }
}

void TFT_English_largey(U08 code)  // write a English ASCII character(12x24 pixel)
{
  unsigned char data, x, y;
  unsigned int pixel[30][56];
  //unsigned int dot0, dot1, dot2, dot3, dot4;

  for(x = 0; x < 30; x++)   // read English ASCII font
    { data = pgm_read_byte(&S_font_large[code][x]);
      for(y = 0; y < 8; y++)
        { if(data & 0x01) pixel[x][y] = foreground;
   else            pixel[x][y] = background;
   data = data >> 1;
 }
    }

  for(x = 0; x < 30; x++)
    { data = pgm_read_byte(&S_font_large[code][x+15]);
      for(y = 0; y < 8; y++)
 { if(data & 0x01) pixel[x][y+8] = foreground;
   else            pixel[x][y+8] = background;
   data = data >> 1;
 }
    }

  for(x = 0; x < 30; x++)
    { data = pgm_read_byte(&S_font_large[code][x+30]);
      for(y = 0; y < 8; y++)
 { if(data & 0x01) pixel[x][y+16] = foreground;
   else            pixel[x][y+16] = background;
   data = data >> 1;
 }
    }
  /*for(x = 0; x < 30; x++)
    { data = pgm_read_byte(&S_font_large[code][x+24]);
      for(y = 0; y < 8; y++)
 { if(data & 0x01) pixel[x][y+24] = foreground;
   else            pixel[x][y+24] = background;
   data = data >> 1;
 }
    }
  for(x = 0; x < 30; x++)
    { data = pgm_read_byte(&S_font_large[code][x+32]);
      for(y = 0; y < 8; y++)
 { if(data & 0x01) pixel[x][y+32] = foreground;
   else            pixel[x][y+32] = background;
   data = data >> 1;
 }
    }
    for(x = 0; x < 30; x++)
    { data = pgm_read_byte(&S_font_large[code][x+40]);
      for(y = 0; y < 8; y++)
 { if(data & 0x01) pixel[x][y+40] = foreground;
   else            pixel[x][y+40] = background;
   data = data >> 1;
 }
    }
    for(x = 0; x < 30; x++)
    { data = pgm_read_byte(&S_font_large[code][x+48]);
      for(y = 0; y < 8; y++)
 { if(data & 0x01) pixel[x][y+48] = foreground;
   else            pixel[x][y+48] = background;
   data = data >> 1;
 }
    }
    for(x = 0; x < 30; x++)
    { data = pgm_read_byte(&S_font_large[code][x+56]);
      for(y = 0; y < 8; y++)
 { if(data & 0x01) pixel[x][y+56] = foreground;
   else            pixel[x][y+56] = background;
   data = data >> 1;
 }
    }*/

 

  /*if(outline_flag == 1)    // display outline
    { for(x = 0; x < 12; x++)
        { dot0 = pgm_read_byte(&E_font_large[code][x]) + pgm_read_byte(&E_font_large[code][x+12])*256;
          dot1 = dot0 >> 1;      // up side
          dot2 = dot0;       // down side
          dot3 = pgm_read_byte(&E_font_large[code][x+1]) + pgm_read_byte(&E_font_large[code][x+13])*256;// left side
          dot4 = pgm_read_byte(&E_font_large[code][x-1]) + pgm_read_byte(&E_font_large[code][x+11])*256;// right side

          for(y = 0; y < 16; y++)
     { if(!(dot0 & 0x0001))
         { if(dot1 & 0x0001) pixel[x][y] = outline;
           if(dot2 & 0x0001) pixel[x][y] = outline;
           if((dot3 & 0x0001) && (x < 11 )) pixel[x][y] = outline;
           if((dot4 & 0x0001) && (x > 0 ))  pixel[x][y] = outline;
         }

              dot1 >>= 1;
              dot2 = dot0;
       dot0 >>= 1;
       dot3 >>= 1;
       dot4 >>= 1;
            }
         }
       for(x = 0; x < 12; x++)
         { dot0 = pgm_read_byte(&E_font_large[code][x+12]) + pgm_read_byte(&E_font_large[code][x+24])*256;
           dot1 = dot0 >> 1;        // up side
           dot2 = dot0;         // down side
           dot3 = pgm_read_byte(&E_font_large[code][x+13]) + pgm_read_byte(&E_font_large[code][x+25])*256;// left side
           dot4 = pgm_read_byte(&E_font_large[code][x+11]) + pgm_read_byte(&E_font_large[code][x+23])*256;// right side

           for(y = 0; y < 16; y++)
      { if(!(dot0 & 0x0001))
          { if(dot1 & 0x0001) pixel[x][y+8] = outline;
            if(dot2 & 0x0001) pixel[x][y+8] = outline;
            if((dot3 & 0x0001) && (x < 11 )) pixel[x][y+8] = outline;
            if((dot4 & 0x0001) && (x > 0 ))  pixel[x][y+8] = outline;
          }

               dot1 >>= 1;
               dot2 = dot0;
        dot0 >>= 1;
        dot3 >>= 1;
        dot4 >>= 1;
             }
         }
    }*/

  if(Xcharacter >= XcharacterLimit)  // end of line ?
    { Xcharacter = 0;
      Ycharacter += 3;
      if(Ycharacter >= (YcharacterLimit-2)) // end of screen ?
        Ycharacter = 0;
    }

  if(underscore_flag == 1)
    { for(x = 0; x < 12; x++)   // display underscore
          pixel[x][23] = underscore;
    }

  if((cursor_flag == 1) && (Xcharacter == Xcursor) &&(Ycharacter == Ycursor))
    { for(x = 0; x < 12; x++)   // display cursor
        { pixel[x][22] = cursor;
          pixel[x][23] = cursor;
        }
    }

  for(y = 0; y < 24; y++)   // write a character
    for(x = 0; x < 12; x++)
      TFT_pixel(Xcharacter*12 + x, Ycharacter*8 + y, pixel[x][y]);

  Xcharacter += 1;    // go to next position
}


void TFT_0x_hexadecimal_largey(U32 number, U08 digit) // display hexadecimal number with 0x
{
  unsigned char i, character;

  if((digit == 0) || (digit > 8)) return;

  TFT_English_large('0');
  TFT_English_large('x');

  for(i = digit; i > 0; i--)
    { character = (number >> 4*(i-1)) & 0x0F;
      if(character < 10) TFT_English_large(character + '0');
      else               TFT_English_large(character - 10 + 'A');
    }
}

 

 

이부분에서, LCD화면에 제가만든 폰트가 출력되도록 하고싶은데, TFT_English부분의 숫자를 바꿔봐도 아무것도 바뀌지않습니다,,

폰트 부분의 코드에서 0~9와 세미콜론만 사용하기위해 앞부분의 38개는 빈칸으로 배열선언하였고, 뒷부분은 70개의 배열로 빈칸선언하였습니다

마스터님의 말씀대로 헤더파일을 분석해본결과 void함수 void TFT_landscape_largey(void) ,void TFT_string_largey(U08 xChar, U08 yChar, U16 colorfore, U16 colorback, char *str)

void TFT_English_largey(U08 code),  void TFT_0x_hexadecimal_largey(U32 number, U08 digit) 
  4개를 잘 조합해야 제가만든 폰트 시계가 출력될것같은데, 도저히 감이 안잡혀서 이렇게 질문을 드립니다ㅠㅜ

  • BASIC4MCU 작성글 SNS에 공유하기
  • 페이스북으로 보내기
  • 트위터로 보내기
  • 구글플러스로 보내기

댓글 0

조회수 3,361

등록된 댓글이 없습니다.

질문게시판HOME > 질문게시판 목록

MCU, AVR, 아두이노 등 전자공학에 관련된 질문을 무료회원가입 후 작성해주시면 전문가가 답변해드립니다.
ATMEGA128PWMLED초음파
아두이노AVR블루투스LCD
UART모터적외선ATMEGA
전체 스위치 센서
질문게시판 목록
제목 작성자 작성일 조회
공지 MCU, AVR, 아두이노 등 전자공학에 관련된 질문은 질문게시판에서만 작성 가능합니다. 스태프 19-01-15 9703
공지 사이트 이용 안내댓글[24] master 17-10-29 29874
질문 아두이노 모터 질문 새글첨부파일 todd33671 17:51 12
질문 압력센서 질문있습니다.댓글[3] 새글 브레이크 14:17 20
질문 아두이노 코딩 질문댓글[1] 이미지새글 에도이누 14:05 21
질문 esp32를 이용한 피에조부저댓글[1] 이미지새글 ejdog 22-05-27 18
질문 아두이노 서보모터 무한회전 문제 해결을 어떻게 해야할까요 새글 GinGer 22-05-27 24
답변 답변글 답변 : 아두이노 서보모터 무한회전 문제 해결을 어떻게 해야할까요댓글[5] 새글 master 22-05-27 38
질문 모터 엔코더 제어 질문드립니다. 새글 oreoreo 22-05-27 22
답변 답변글 답변 : 모터 엔코더 제어 질문드립니다. 새글 master 22-05-27 17
질문 아두이노 RF무선통신 관련 질문입니다.댓글[2] 새글 메론맛드링크 22-05-27 20
질문 아두이노 속도측정, 속도를 LCD에 표시, 가까워지면 부저 새글 wgtjdwls 22-05-27 23
답변 답변글 답변 : 아두이노 속도측정, 속도를 LCD에 표시, 가까워지면 부저 새글 master 22-05-27 22
질문 블루투스 관련 코드 도와주세요 새글 scape 22-05-27 21
답변 답변글 답변 : 블루투스 관련 코드 도와주세요 새글 master 22-05-27 20
질문 ATmega128 1602A LCD 출력 질문입니다.댓글[2] 새글 444222a 22-05-27 45
질문 ATmega128 스위치 채터링 관련 질문드립니다댓글[3] 새글 yeon 22-05-27 53
질문 마이크로칩 스튜디오 코드 해석 새글 최선을다하자 22-05-27 27
답변 답변글 답변 : 마이크로칩 스튜디오 코드 해석 새글 master 22-05-27 29
질문 적외선 거리 센서로 블루투스 알람 설정 코딩...댓글[1] 새글 ededed 22-05-26 30
질문 아두이노 api 질문댓글[1] 첨부파일 리니어 22-05-26 24
질문 atmega128 키패드 입력 오류에 대하여 질문 있습니다.댓글[2] 마프하나 22-05-26 64
질문 초음파센싱을 통한 리니어벨트 (스텝모터사용) 조건문댓글[1] 아두이노대학 22-05-26 40
질문 아트메가128/ srf05 초음파센서를 이용한 타이머 인터럽트 질문입니다 아트메가넘어려워 22-05-26 38
답변 답변글 답변 : 아트메가128/ srf05 초음파센서를 이용한 타이머 인터럽트 질문입니다 master 22-05-26 46
질문 atmega128에서 스위치1개는LED, 스위치 1개는 세그먼트의 동작하게 하려는데.. aasdw 22-05-26 74
답변 답변글 답변 : atmega128에서 스위치1개는LED, 스위치 1개는 세그먼트의 동작하게 하려는데..댓글[1] master 22-05-26 74
질문 Atmega128 블루투스 오류 질문 yhj2644 22-05-26 67
답변 답변글 답변 : Atmega128 블루투스 오류 질문 master 22-05-26 49
질문 아두이노 간단한 프로그램 행복지수업 22-05-25 55
게시물 검색

2022년 1월 2월 3월 4월 5월 6월 7월 8월 9월 10월 11월 12월
2021년 1월 2월 3월 4월 5월 6월 7월 8월 9월 10월 11월 12월
2020년 1월 2월 3월 4월 5월 6월 7월 8월 9월 10월 11월 12월
2019년 1월 2월 3월 4월 5월 6월 7월 8월 9월 10월 11월 12월
2018년 1월 2월 3월 4월 5월 6월 7월 8월 9월 10월 11월 12월
Privacy Policy
MCU BASIC ⓒ 2020
모바일버전으로보기