Professional Documents
Culture Documents
Led Blink
Led Blink
Led Blink
#include<lpc214x.h>
int i;
delay()
for (i=0;i<1000000;i++);
main()
IODIR1 = 0xFFFF0000;
while(1)
IOSET1=0xFFFF0000;
delay();
IOCLR1=0xFFFF0000;
delay();
}
}
4.) RESULT : The working of a port-x was verified with the blink of LEDs
using Keil tool in Embedded-c for LPC- 2148