• Problem writing and reading EEPROM by LPC2148 I2C0
    how to simulate I2C by signal function, I am using LPC2148. I used following code but not getting output / Simulation of I2C Memory (Slave) MAP 0x80000000, 0x800000ff READ WRITE // Map User...
  • Problem writing and reading EEPROM by LPC2148 I2C0
    Hello, I am working on LPC2148 implemented on Embedded Artists board. I am trying to write to the connected EEPROM and then read my data back. the hardware connection is fine and the slave address...
  • 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,...
  • Error: #40: expected an identifier
    Dear All, I am compiling following code. __asm{ STMDB R0!, {LR} }; __asm{ MOV LR, R0 }; __asm{ LDMIA SP!, {R0} }; . . . But compiler is giving me following errors for each of above line...
  • Error: #40: expected an identifier
    Error: #40: expected an identifier ------------------------------------------ typedef enum { WITH_A = 0, /* Comment 1*/ WITH_B, /* Comment 2 */ WITH_B, /* Comment 3 */ WITH_C, /* Comment...