 #include <CurieBLE.h>
 
-const int ledPin = 13; // set ledPin to on-board LED
+const int ledPin = 3; // set ledPin to on-board LED
 //                                                        V
 //ID IS A TEST. IT WAS 19B10010-E8F2-537E-4F6C-D104768A1214<<<<<
 BLEService ledService("19B10010-E8F2-537E-4F6C-D104768A1215"); // create service


  if (ledCharacteristic.written()) {
    // update LED, either central has written to characteristic or button state has changed
    Serial.println(ledCharacteristic.value());
    if (ledCharacteristic.value()) {
      Serial.println("LED on");


  // add the service
  BLE.addService(ledService);
  
  //const char* valueToWrite = "THIS IS A TEXT VALUE";
  char c = 'A';
  ledCharacteristic.setValue(c);

  // start advertising
  BLE.advertise();

  Serial.println("Bluetooth device active, waiting for connections...");
  
}

void loop() {
