 static int BAUDRATE = 19200;
 boolean DEBUG = false; // toggle serial debug text
 int TIMEOUT = 300;  //timeout in seconds before beginning default pattern
+float numdivs = 60.0; //change this to adjust gradient smoothness
 int red,green,blue;
 int* rgb[4] = {&red, &green, &blue, 0};
 // In use, & means "address of"; * means "follow this address".

    pinMode(GND,OUTPUT);
  }
  Serial.begin(BAUDRATE);
}



    }
  } else {
    // no input;
    if (timeOutCount > TIMEOUT) { // after TIMEOUT, do something
      // maybe timeout and timeout behavior should be configurable over serial.
      // low priority, bc this will mostly be running before serial comms have
      // been established.
      gradientPulse (off, white, 1);
      // setOutput( random(255), random(255), random(255) ); // change to be nicer (1s gradients?)
    }


