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

#include <CurieBLE.h>

const int ledPin = 13; // 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

  }
}

void ledSignal(int times, int milliseconds){
  for(int i=0; i<times; i++){
    digitalWrite(ledPin, HIGH);
    delay(milliseconds);
    digitalWrite(ledPin, LOW);
    delay(milliseconds);
  }
}
