• ADC for IR sensor ..error C67:DP5 Undefined identifier
    Hi there, Just went through discussions, but could not get any satisfactory thread. I want to control 3 IR sensors and a Ultrasonics. For IR, I tried to configure port 5, but, it gives error...
  • undefine identifier
    <main> #include<reg51.h> #include<delay.h> #include<temp.h> //#include<code.h> #include<counter.h> #define unsigned long int pdata cont[256] void main() { int tmp; counter(); while(1) { tmp=P0;...
  • 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;...
  • 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...
  • syntax error ..undefined identifier
    Here is my source for my sensor interfacing. # include <reg52.h> # define mux P1_0 # define buzzer P1_1 # define temp P3_7 # define heart P3_6 # define saline P3_5 static unsigned long overflow_count...