• 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...
  • Changing #define
    Hello, In programme I have defined #define DEVICE_ID 0x32 But I want to change Device Id when I get command of change Device Address. How should I do it? Regards, Abhijeet R. Mudgal...
  • #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...
  • Path define
    Hello, Does anyone know if there is a way to set project path macro? For example when I use standard makefile I can quickly change library of all C files in project like this: #USED_SDK :=...
  • identifier is not defined
    Hi, I am trying to use HAL driver for STM32L053C8 discovery board. In DMA.h I defined: typedef struct { DMA_Channel_TypeDef *Instance; /*!< Register base address */ DMA_InitTypeDef Init;...