From a35071825eac0cd3a56985d6887b0a16ee2bbf3e Mon Sep 17 00:00:00 2001 From: Uttam Ambappa Bhavimani Date: Mon, 28 Oct 2024 22:52:43 +0530 Subject: [PATCH] Update main.c Add main function --- main.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/main.c b/main.c index 03a87b6..dfa31af 100644 --- a/main.c +++ b/main.c @@ -36,5 +36,14 @@ void GPIO_PORT_B_init(void) UART1_CC_R = 0x00; // USE SYSTEM CLOCK UART1_CTL_R |= 0x301; // ENABLE UART1, RX AND TX +} +int main(void) // MAIN FUNCTION +{ + GPIO_PORT_F_init(); // GPIO PORT F INITIALISATION FUNCTION + GPIO_PORT_B_init(); // GPIO PORT B INITIALISATION FUNCTION + + while (1) + { + } \ No newline at end of file