• cannot debug clock.error message : c(727): error C141: syntax error near 'void'
    void nihao() { <------ when i debug, y there my brace turn red? tmp=5; if (count==tmp){ P0=0x00; P2=0X00;} if (count==tmp+2){ //n P0=0xfe; P2=0x03;} if (count==tmp+4){ P0=0x0c; P2=0X00;} ...
  • cannot debug clock.error message : c(727): error C141: syntax error near 'void'
    void nihao() { <------ when i debug, y there my brace turn red? tmp=5; if (count==tmp){ P0=0x00; P2=0X00;} if (count==tmp+2){ //n P0=0xfe; P2=0x03;} if (count==tmp+4){ P0=0x0c; P2=0X00;} ...
  • C141 error at line 12: syntax error near ';' and syntax error near ')' encountered
    1 #include <REGX52.H> 2 void delay_and_check_1(void); 3 void delay_and_check(void); 4 void check_button_pres(void); 5 void display_value(void); 6 #define column 000001111; 7 unsigned char store=0x00;...
  • C141 error at line 12: syntax error near ';' and syntax error near ')' encountered
    1 #include <REGX52.H> 2 void delay_and_check_1(void); 3 void delay_and_check(void); 4 void check_button_pres(void); 5 void display_value(void); 6 #define column 000001111; 7 unsigned char store=0x00;...
  • error C141: syntax error near 'stTimeStr'
    hi there, i have struct with the problem.I'm writing a code for DS12887,And typedef two structures in the header file.It is normal before writing a function. But now the error C141. I am more confused...