Hi
I am not able to download the code into board.below is the code .target board is LPC2388.I am getting the error.Please anyone tell me how to download.
#include <LPC23xx.H> /* LPC23xx definitions */ //#include <RTL.h>
#define LED_ 0x0000000F;
void wait (void) { /* wait function */ int d;
for (d = 0; d < 1000000; d++); /* only to delay for LED flashes */ }
int main (void) { //U32 LED; FIO2DIR = 0x0000000F; /*port 2 initializations*/ FIO2MASK = 0x00000000; FIO2PIN = 0x00000000; //PINSEL10 = 0;
while (1) { /* Loop forever */ FIO2SET = LED_ ; /*LED ON */ wait (); FIO2CLR = ~LED_ ; /*LED OFF*/
} }
Thanks and regards gv