Content originally posted in LPCWare by biradar on Thu Aug 23 00:08:50 MST 2012
Hello,
I am using LPC1114 MCU & in that i want LED has to blink for 10 second then after it has to remain off..
so can any 1 send me the code,, & i did one code for it but it is not making led off,mine code is
SYSCON_AHBPeriphClockCmd(SYSCON_AHBPeriph_GPIO, ENABLE);
GPIO_SetDir(PORT0, GPIO_Pin_7, 1);
GPIO_SetBits(PORT0, GPIO_Pin_7);
delay(900000);
GPIO_ResetBits(PORT0, GPIO_Pin_7);
delay(900000);