 #include "TympanRemoteFormatter.h"
 TympanRemoteFormatter myGUI;  //Creates the GUI-writing class for interacting with TympanRemote App
 
+//Create BLE
+BLE ble = BLE(&Serial1);
+
 
 // define the setup() function, the function that is called once when the device is booting
 const float input_gain_dB = 10.0f; //gain on the microphone

  
  //look for in-coming serial messages (via USB or via Bluetooth)
  if (Serial.available()) respondToByte((char)Serial.read());   //USB Serial
  if (Serial1.available()) respondToByte((char)Serial1.read()); //BT Serial

} //end loop();


}

void setButtonText(String btnId, String text) {
  String str = "TEXT=BTN:" + btnId + ":"+text;
  myTympan.println(str);
  ble.sendMessage(str);
}
