Page 737 - 완) I MDP 프로젝트 작품 보고서(전체과 1학년)1.6
P. 737
unsigned int i=0; //키패드 for문 반복 변수
unsigned int eng_count=0;
unsigned char week[][10]={"Mon","Tues","Wednes","Thurs","Fri"}; //요일 배열
unsigned char sbuf[23];
unsigned char mon_sub[][20]={"Communication_S ", "Communication_S ",
"Communication_S ", "Korean", "P.E", "Chinese", "Self study"};
unsigned char tues_sub[][20]={"Music", "Mathematics", "Physics", "English",
"Microprocessor_S", "Microprocessor_S", "Microprocessor_S"};
unsigned char wed_sub[][20]= {"Korean", "Android_S", "Android_S", "Android_S",
"Information ", "Club activity ", "Club activity "};
unsigned char thur_sub[][20]={"Communication", "Physics", "English",
"Information","History", "Microprocessor", "P.E"};
unsigned char fri_sub[][20]= {"Microprocessor", "Information_S",
"Information_S", "Information_S", "Communication", "History", "Mathematics"};
unsigned char mon_eng[61]= "Youngjae loves Jaedong. happyhappy.";
//월요일 오늘의 영어
unsigned char tues_eng[61]="What day is it yesterday?" ;
//화요일 오늘의 영어
unsigned char wed_eng[61]= "The purpose of life is to fight maturity." ;
//수요일 오늘의 영어
unsigned char thur_eng[61]="Why be a man when you can be a success?" ;
//목요일 오늘의 영어
unsigned char fri_eng[61]= "He lived in Califonia until he was seventeen." ;
//금요일 오늘의 영어
void init(void)
{
lcd_init (20);
DDRC=0xff; //LCD 화면
- 730 -