   Serial.readStringUntil('\n').toCharArray(input,255);
   if (input!="") { // if connected    
     switch (input[0]) {
+      case 'c' : { 
+        sClear(); 
+        break; 
+      }
+      case 'B': {
+        *rgb[0]=0;
+        *rgb[1]=0;
+        *rgb[2]=255;
+        setOutput(rgb);
+        if (SINGLE_LED) { Serial.println(digitalRead(B_PIN)); }
+        break;
+      }
       case 'b': {
-        analogWrite(4,150);
+        analogWrite(B_PIN,127.5);
         break;
       }
       case '1': {

static boolean DEBUGGING_MODE = true; // toggle serial debug text
static boolean SINGLE_LED = true; // false = Grove LED driver;
                                  // true = RGB LED for at-home testing
#include "RGBdriver.h"
#define CLK 2 //pin definitions for the driver        
#define DIO 3

RGBdriver Driver(CLK,DIO);

// leads to a color variable.

void setup() {
  if (SINGLE_LED) {
    pinMode(R_PIN,OUTPUT);
    pinMode(G_PIN,OUTPUT);
    pinMode(B_PIN,OUTPUT);
    pinMode(GND,OUTPUT);
  }
  Serial.begin(BAUDRATE);
  rgb[4]=0;
