From b0737507aae3b7c444abe2566569381d4d916d58 Mon Sep 17 00:00:00 2001 From: Vikram Rajput Date: Thu, 10 Oct 2024 19:25:40 +0530 Subject: [PATCH] Forgot to add definitions for leds --- main.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/main.c b/main.c index ad4a1ef..8a89ab1 100644 --- a/main.c +++ b/main.c @@ -2,6 +2,11 @@ #include #include"tm4c123gh6pm.h" +#define SW_bits 0x11 +#define RED 0x02 +#define BLUE 0x04 +#define GREEN 0x08 + /* Systick memory mapped registers */ #define STCTRL *((volatile long *) 0xE000E010) // control and status