• syntax error near 'void'
    #include<reg51.h> #include<lcd.h> #include<uart.h> sbit lamp=P2^0; sbit motor=P2^1; //NOTES: //1: This code may be distributed and modified freely . //2: External Crystal of 11.0592 MHz...
  • TOGGLE.C(10): error C141: syntax error near '}'
    i am facing error C141: syntax error near '}' my program is given below: #include<reg51.h> void main ( ) { int x; while (1) { P1 = 0x00 ; for (x=0 ; x<=5000 ; x++) P1 = 0xFF ; for (x=0 ; x...
  • 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...
  • charger.c(174): error C141: syntax error near ''
    this is my source code #include <REG51F.H> sbit sl1=P2^0; sbit sl2=P2^1; sbit sl3=P2^2; sbit led1=P2^3; sbit led2=P2^4; sbit led3=P2^5; sbit Rl1=P1^0; sbit Rl2=P1^1; bit kp1; bit kp2; bit kp3;...