From a1851e0cb86c001fd95f1b53e241f157aded818f Mon Sep 17 00:00:00 2001 From: Debashish Sahu Date: Thu, 24 Jan 2019 14:00:27 -0500 Subject: [PATCH] Update McLighting.ino --- Arduino/McLighting/McLighting.ino | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Arduino/McLighting/McLighting.ino b/Arduino/McLighting/McLighting.ino index 585a820..e677ded 100644 --- a/Arduino/McLighting/McLighting.ino +++ b/Arduino/McLighting/McLighting.ino @@ -749,18 +749,25 @@ void setup() { DBG_OUTPUT_PORT.print("/pixels: RGB Order# "); if (RGBOrder == "grb") { initStrip(strip->getLength(), NEO_GRB); + DBG_OUTPUT_PORT.println(RGBOrder); } else if (RGBOrder == "gbr") { initStrip(strip->getLength(), NEO_GBR); + DBG_OUTPUT_PORT.println(RGBOrder); } else if (RGBOrder == "rgb") { initStrip(strip->getLength(), NEO_RGB); + DBG_OUTPUT_PORT.println(RGBOrder); } else if (RGBOrder == "rbg") { initStrip(strip->getLength(), NEO_RBG); + DBG_OUTPUT_PORT.println(RGBOrder); } else if (RGBOrder == "brg") { initStrip(strip->getLength(), NEO_BRG); + DBG_OUTPUT_PORT.println(RGBOrder); } else if (RGBOrder == "bgr") { initStrip(strip->getLength(), NEO_BGR); + DBG_OUTPUT_PORT.println(RGBOrder); + } else { + DBG_OUTPUT_PORT.println("invalid input!"); } - DBG_OUTPUT_PORT.println(RGBOrder); } });