         Serial.print(buf);
 }
 
+void sClear() {
+  for (int x=0; x<40; x++) { Serial.println(); }
+}
+

}


  void setOutput( int red, int green, int blue) {
    //"local variable hides a field" :p

    if (!SINGLE_LED) {
      Driver.begin();
      Driver.SetColor(red, green, blue);
      Driver.end();
    } else { //testing setup: single RGB led with cathode on 7
      analogWrite(6,red*.5);
      analogWrite(5,green*.5);
      analogWrite(4,blue*.5);
    }
  }


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
static int R_PIN = 6;   // pins for
static int G_PIN = 5;   // directly driven
static int B_PIN = 4;   // test setup
static int GND = 7;     // (<- so we don't have to split cables)
#include "RGBdriver.h"
#define CLK 2 //pin definitions for Grove driver        
#define DIO 3

RGBdriver Driver(CLK,DIO);
