• undefined identifier error(c202)
    i write this code for LDR connected with the AT89s52 through the ADC MCP3208. i write the below code. #include<at89s52.h> #include<stdio.h> sbit CLK=P1^2; sbit MISO=P1^3; sbit MOSI=P1^4;...
  • Error: #40: expected an identifier
    Dear All, I am compiling following code. __asm{ STMDB R0!, {LR} }; __asm{ MOV LR, R0 }; __asm{ LDMIA SP!, {R0} }; . . . But compiler is giving me following errors for each of above line...
  • expected identifier error
    Hello everyone, I've been trying to make a struct and compiler gives me expected identifier error. Can anyone tell me where is my fault? struct State { unsigned long Out1; unsigned long out2;...
  • Error: #40: expected an identifier
    Error: #40: expected an identifier ------------------------------------------ typedef enum { WITH_A = 0, /* Comment 1*/ WITH_B, /* Comment 2 */ WITH_B, /* Comment 3 */ WITH_C, /* Comment...
  • compilation error of identifiers is undefined
    the uVision complained that: stm32f0xx_i2c_cpal_hal.c(121): error: #20: identifier "I2C2_IRQn" is undefined, however, this is defined in the "stm32f0xx.h" and the header file stm32f0xx_i2c_cpal_hal.h...