• 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;...
  • 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 :=...
  • #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...