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

USART1_SendByte  ('-');

                            extLCD(line9,"                          ");
                            extLCD(line9,"ERROR");



                            }


                    else  if(usart_trans_tag[0]=='0'  ||  usart_trans_tag[0]=='5')
                                    {
                                            for(i=0;  i<8;  i++)            {usart_trans_tag[i]='-';}

            //error  test  2
                                            USART1_SendByte  ('N');



                                            extLCD(line9,"                            ");
                                            extLCD(line9,"ERROR");
                                    }





                            record_tag=0;  //usart_trans_tag[record_tag]이며,  (에러가  출력됬을지라도)태
            그  출력이  끝났으므로  배열  0부터  다시  쌓기  위해  0으로  초기화.

                            }


            }



            void  usart_lcd_reset(void)     //모든  배열에  공백  삽입.  이로  인해서  배열에  값을  집어넣어도
            배열의  각잡힌  틀은  무너지지  않음.
            {
                    int  i,  j;

                    for(i=0;  i<9;  i++)
                            {
                                    for(j=0;  j<9;  j++)
                                            {

                                            usart_name[i][j]  =  '  ';
                                            usart_gap[i][j]  =  '  ';
                                            }

                            }
            }




                                                         -  552  -
   554   555   556   557   558   559   560   561   562   563   564