 }
 
 void send_whammy_position(byte value) {
-  if (DEBUG) {
-    Serial.print("set position:");
-    Serial.print(value);
-    Serial.print("\n");
-  } else {
-    Serial.write((byte) 176); // CC on Channel 1 (10110000)
-    Serial.write((byte) 11); // Controller 11
-    Serial.write(value); // value
-  }
+  #ifdef DEBUG
+  Serial.print("set position:");
+  Serial.print(value);
+  Serial.print("\n");
+  #endif
+
+  midi_serial.write((byte) 176); // CC on Channel 1 (10110000)
+  midi_serial.write((byte) 11); // Controller 11
+  midi_serial.write(value);
 }
 

/* TODO better debugging method (need to send MIDI out of a different pin,
so it's not tying up the default serial interface) */
#define DEBUG false

enum Modes {
  PLAY, // play current sequence

      break;
  }

}

void play_loop() {
