 
 void loopbackMode()
 {
-	Uart.begin(9600);
+	Uart.begin(BAUD);
 
 	while (digitalRead(buttonPin) == HIGH) {
 		if (Serial.available()) {

 * Serial pass-through adapter.
 *
 * This bridges the Teensy's USB serial port to the Fadecandy board's serial
 * interface at 9600 baud. When the green button is held, we implement a simple
 * serial port loopback which will put the Fadecandy into bootloader mode.
 */



HardwareSerial Uart = HardwareSerial();

#define BAUD 115200

void setup()
{
	pinMode(ledPin, OUTPUT);
	pinMode(buttonPin, INPUT_PULLUP);
	Serial.begin(BAUD);
}

void passthroughMode()
