void main(void) { /* put your own code here */ EnableInterrupts; Init_IO(); Init_Capture(); //Sci_R();
for(;;) { if(PTT_PTT3 ==0x00) { //Sci_T(0xff); } if(PTT_PTT3 ==0x01) { //Sci_T(0xf0); } } /* wait forever */ /* please make sure that you never leave this function */ }