• Identifier Undfined
    Basically what I am trying to do is duplicated the timer project example for nRF51422. I keep getting back following errors and I don't know how to fix it. I suspect it has to do with including files...
  • 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;...
  • uVision4 gives a compile error when #define identifier used with comparison operator
    Does anyone know why this doesn't work: #define x 5; ... if(state == x){... } Does anyone know why I can't do the above comparison?
  • Error: #40: expected an identifier
    Hi, My code: #ifndef __LPC_TYPES_H #define __LPC_TYPES_H #include <stdint.h> (49) typedef enum {FALSE = 0, TRUE = !FALSE} Bool; typedef enum {RESET = 0, SET = !RESET} FlagStatus,...
  • Significance of physical identifier
    Hello, I have a doubt regarding physical identifier of an Ethernet physical IC. What is the importance of their physical identifier. when I compared DP83848C and DP83640 and found not much difference...