From 5aa3477c59aec1ebedf2a70d8aebfed0d9d23a77 Mon Sep 17 00:00:00 2001 From: Omar Magdy Date: Mon, 22 Aug 2022 14:03:01 +0200 Subject: Added initial code + Made the led stay green for 5 seconds then yellow for 2 seconds then red --- color.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'color.h') diff --git a/color.h b/color.h index 77fe82a..1d1b0bc 100644 --- a/color.h +++ b/color.h @@ -1,6 +1,9 @@ #include "tivaware.h" +#define LED_RED (1U << 1) +#define LED_BLUE (1U << 2) +#define LED_GREEN (1U << 3) #define PORTF GPIO_PORTF_DATA_R #define INTIAL_COLOR WHITE #define RED 1 -- cgit v1.2.3