• DEFINE's
    Sorry to bug this forum, but I have no one else to ask.. In one program sample file there is this definition #ifndef MCB2130 #include <lpc21xx.h> #else #include <lpc213x.h> #define ADCR AD0CR...
  • #define "val.h"
    hai, I had written a code in following way #include <REGX55.H> #include <math.h> #include "DEFINE_H.h" void delay(unsigned int); main() { while(1) { HEALTH = ~HEALTH; delay(65535...
  • #Define in Keil
    Hi Collegues, I am new in uVision and I am trying to configure an LCD in 4-bit mode by this tool. I got an error when I wrote this: #define LCD_Data P0 . . . Then I wrote LCD_Data=0x28; the...
  • array defining
    i want to send 300 constant values to an array and i defined it in this way code unsigned int a[]= '' 936, 956, 1100, 1208, 1150, 986''; // like these all 300 values but keil software gives error...
  • Defining a Variable
    how can i define a byte or bit variable in ASM. as we use in C e.g char a = 0; bit TimeStop = 0; unsigned char sec=55;