LED not getting off

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

LED not getting off

305件の閲覧回数
lpcware
NXP Employee
NXP Employee
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);
0 件の賞賛
返信
0 返答(返信)