From 27f21e510f5748bc74aff161266ce2fc5344d2ab Mon Sep 17 00:00:00 2001 From: BlubbFish Date: Thu, 6 Sep 2018 20:16:42 +0000 Subject: [PATCH] Add LED-Blitz --- Leuchtklotz/Leuchtklotz/Leuchtklotz.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Leuchtklotz/Leuchtklotz/Leuchtklotz.c b/Leuchtklotz/Leuchtklotz/Leuchtklotz.c index a5a2fa9..b69ae98 100644 --- a/Leuchtklotz/Leuchtklotz/Leuchtklotz.c +++ b/Leuchtklotz/Leuchtklotz/Leuchtklotz.c @@ -11,14 +11,14 @@ #define LED3 0b00000100 #define LED4 0b00001000 -#define BLACK 0 -#define RED 1 -#define GREEN 2 -#define YELLOW 3 -#define BLUE 4 -#define MAGENTA 5 -#define CYAN 6 -#define WHITE 7 +#define BLACK 0 0b0000 +#define RED 1 0b0001 +#define GREEN 2 0b0010 +#define YELLOW 3 0b0011 +#define BLUE 4 0b0100 +#define MAGENTA 5 0b0101 +#define CYAN 6 0b0110 +#define WHITE 7 0b0111 #include #include