From 4e1206d68d975609a7f59422cf1bbbdaae110934 Mon Sep 17 00:00:00 2001 From: Vikram Rajput Date: Sun, 15 Sep 2024 16:14:01 +0530 Subject: [PATCH] Reduced the delay --- main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.c b/main.c index 8b5686e..177b0ed 100644 --- a/main.c +++ b/main.c @@ -20,14 +20,14 @@ int main(void) x=0; GPIO_PORTF_DATA_R = 0x02; //WAIT FOR 500ms - while(x<667750) + while(x<6677) x++; //TURN OFF LED x=0; GPIO_PORTF_DATA_R = 0x00; //WAIT FOR 500ms - while(x<667750) + while(x<6677) x++;