Page 66 - 완) I MDP 프로젝트 작품 보고서(전체과 1학년)1.6
P. 66

LCD_cmd_write(LINE1);
                LCD_String("help  your  self");

                LCD_cmd_write(LINE2);
                LCD_String("mix  snack    ^_^");


               //PORTE의  3,4

                PORTE=0b00001000;
                delay_ms(500);

                PORTE=0b00010000;
                delay_ms(500);

               PORTE=0x00;
             }

            interrupt  [EXT_INT2]  void  external_int2(void)    //yellow  스위치
            {

                init_LCD();
                LCD_cmd_write(LINE1);
                LCD_String("help  your  self");

                LCD_cmd_write(LINE2);
               LCD_String("small  snack  ^_^");


               //PORTE의  6,7

               PORTE=0x80;
                delay_ms(500);

                PORTE=0b01000000;
               delay_ms(500);


               PORTE=0x00;

            }













                                                         -  59  -
   61   62   63   64   65   66   67   68   69   70   71