summaryrefslogtreecommitdiff
path: root/color.h
diff options
context:
space:
mode:
Diffstat (limited to 'color.h')
-rw-r--r--color.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/color.h b/color.h
new file mode 100644
index 0000000..77fe82a
--- /dev/null
+++ b/color.h
@@ -0,0 +1,21 @@
+#include "tivaware.h"
+
+
+#define PORTF GPIO_PORTF_DATA_R
+#define INTIAL_COLOR WHITE
+#define RED 1
+#define BLUE 2
+#define GREEN 3
+#define MAGENTA 4
+#define CYAN 5
+#define YELLOW 6
+#define WHITE 7
+
+
+void set_color(uint8_t color);
+
+void toggle_color(uint8_t color);
+
+void reset_color();
+
+