• Getting Error c141: Syntax Error near 'void'
    I am getting an error for void main() function.. Please help me. I am using AT89C51.
  • Getting Error c141: Syntax Error near 'void'
    I am getting an error for void main() function.. Please help me. I am using AT89C51.
  • 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;} ...
  • getting error as error C141: syntax error near 'void', expected '__asm' at linevoid lcdcmd(unsigned char val)
    #include<reg51.h> sbit ir1=P1^0; //entry sbit ir2=P1^1; //exit sbit rs=P2^0; sbit rw=P2^1; sbit en=P2^2; void lcdcmd(unsigned char); void lcddat(unsigned char); void lcddis(unsigned char *s,unsigned char...