Reduced the delay
This commit is contained in:
parent
9c85be0a82
commit
4e1206d68d
4
main.c
4
main.c
|
@ -20,14 +20,14 @@ int main(void)
|
||||||
x=0;
|
x=0;
|
||||||
GPIO_PORTF_DATA_R = 0x02;
|
GPIO_PORTF_DATA_R = 0x02;
|
||||||
//WAIT FOR 500ms
|
//WAIT FOR 500ms
|
||||||
while(x<667750)
|
while(x<6677)
|
||||||
x++;
|
x++;
|
||||||
|
|
||||||
//TURN OFF LED
|
//TURN OFF LED
|
||||||
x=0;
|
x=0;
|
||||||
GPIO_PORTF_DATA_R = 0x00;
|
GPIO_PORTF_DATA_R = 0x00;
|
||||||
//WAIT FOR 500ms
|
//WAIT FOR 500ms
|
||||||
while(x<667750)
|
while(x<6677)
|
||||||
x++;
|
x++;
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue