BLE Nano Code.Tested with Integrated mDot code

Dependencies:   BLE_API mbed nRF51822

Fork of eco_Labs_ble_Client by Happiest

Revision:
34:d146cdbffd91
Parent:
31:d25111c2fa21
--- a/main.cpp	Thu Dec 15 06:26:45 2016 +0000
+++ b/main.cpp	Fri Dec 16 10:20:16 2016 +0000
@@ -24,7 +24,7 @@
 /******************************************************************************/
 /* Local Defines                                                              */
 /******************************************************************************/
-#define NEED_CONSOLE_OUTPUT 1 /* Set this if you need debug messages on the console;
+#define NEED_CONSOLE_OUTPUT 0 /* Set this if you need debug messages on the console;
                                * it will have an impact on code-size and power consumption. */
 
 #if NEED_CONSOLE_OUTPUT
@@ -78,7 +78,7 @@
 int main(void)
 {
     /* LED init */
-    led1 = 1;           
+    led1 = true;           
     toggle_led();
     spi_buf_init();