From 6cabffb9d28004500f5600789fb18b4d4a1d5a99 Mon Sep 17 00:00:00 2001 From: Uttam Bhavimani Bhavimani Date: Thu, 10 Oct 2024 19:36:05 +0530 Subject: [PATCH] Update main.c Add main function --- main.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/main.c b/main.c index 2c5bb3f..1e5048a 100644 --- a/main.c +++ b/main.c @@ -48,3 +48,14 @@ void GPIOF_interruptHandler(void) // Interrupt handler for GPIO Po GPIO_PORTF_ICR_R = 0x01; // Clear interrupt flag for PF0 } } +int main(void) // MAIN FUNCTION +{ + GPIO_PORT_F_init(); // GPIO INITIALISATION FUNCTION + + while (1) + { + } +} + + +