Interface LED With ARM7

Description Led have two pins, Anode(+) and Cathode(-), Anode connected with ARM7 lpc21xx P1.0 pin and Cathode is connected with 5v in Series with 220 ohms resistor. Hardware Required LED. LPC21xx MicroController. Circuit Code #include <LPC21xx.H> void delay() { int i; for(i=0;i<100000;i++); } int main() { IODIR0=0XFFFFFFFF; while(1) { IOPIN P0=0XFFFFFFF0; delay(); IOPIN P0=0XFFFFFFFF; delay(); … Continue reading Interface LED With ARM7