title: Xcode 9 - Bluetooth module HC-06
body: <p>I am currently attempting to code for an iOS application on XCode and am currently having some issues.</p>
  
  <p>Our group is connecting LED lights through a microcontroller and we need our iOS application to connect to the HC-06 Bluetooth module in order to control the LED lights on and off.</p>
  
  <p>I only need to worry about the iOS side of the code not the microcontroller. I was just wondering how would I go about coding this on Xcode to send either a '1' or a '0' through Bluetooth to signal either 'on' or 'off' to the microcontroller?</p>