 
 const byte midiChannel = 1;
 
-void OnNoteOn(byte channel, byte note, byte velocity)
-{
+void OnNoteOn(byte channel, byte note, byte velocity) {
   digitalWrite(ledPin, HIGH);
 }
 
-void OnNoteOff(byte channel, byte note, byte velocity)
-{
+void OnNoteOff(byte channel, byte note, byte velocity) {
   digitalWrite(ledPin, LOW);
 }
 


  boolean modeChange = changeMode();

  if (!modeChange) {
    changeBank();
  }

  updateLeds();

  sendMidiNotes();

}


  Serial.print((*button).isPressed());
  Serial.print(" Just released : ");
  Serial.println((*button).isJustReleased());
#endif
}

void updateButtons() {
  for (byte i = 0; i < numberOfAllButtons; i++) {
    if ((*allButtons[i]).update()) {
      debugButton(allButtons[i]);
    }
  }
}

