• 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...
  • Getting Error c141: Syntax Error near 'void'
    I am getting an error for void main() function.. Please help me. I am using AT89C51.
  • 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;...
  • : error C141: syntax error near 'reg', expected ')'
    I am porting an Arduino program to an 8051 chip to program nrf24le1. I am getting this error message in the keil Uvision 4 compiler. ..\HAL\FUNCTIONS.H(3): error C141: syntax error near 'reg', expected...