From dfb46c93594b5a6bf30f6eb0d65273f9aee1b92a Mon Sep 17 00:00:00 2001 From: Sanyog Ramesh Nevase Date: Sun, 22 Sep 2024 20:56:54 +0530 Subject: [PATCH] Add main --- Group21_Lab06_Task2/main.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Group21_Lab06_Task2/main.c b/Group21_Lab06_Task2/main.c index 11d47b0..89466ea 100644 --- a/Group21_Lab06_Task2/main.c +++ b/Group21_Lab06_Task2/main.c @@ -106,6 +106,13 @@ void GPIOF_interruptHandler(void) { } } - +int main(void) { + GPIO_PORT_F_init(); // GPIO initialization function + systick_setting(); // SysTick setup + + while (1) { + // Main loop does nothing; everything is handled in interrupts + } +}