title: Core Bluetooth read Data
body: <p>Hi guys please help me with this.I have an HM-11 connected to my arduino and I want to read the state of an LED via bluetooth on my iPhone. I am able to control a servo via a custom app. I don't know how to go about reading data from the arduino.</p>
  
  <pre><code>func read()
  {
  self.peripheral.readValueForCharacteristic(char)
      print(char.value)
  }
  </code></pre>