Reduced the delay

This commit is contained in:
Rajput R Vikramsingh Vikramsingh 2024-09-15 16:14:01 +05:30
parent 9c85be0a82
commit 4e1206d68d
1 changed files with 2 additions and 2 deletions

4
main.c
View File

@ -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++;