Send notification to pi from ble nano using ButtonService

Dependencies:   BLE_API mbed nRF51822

Fork of BLE_notifications by Zachary Newman

Revision:
13:d4448d59ab69
Parent:
12:e38bb61023ed
Child:
14:700ba072d1a0
--- a/main.cpp	Tue Apr 18 21:11:05 2017 +0000
+++ b/main.cpp	Wed Apr 19 01:22:46 2017 +0000
@@ -106,7 +106,7 @@
     while (true) {
         pc.printf("loop!\r\n");
         if(isThereAConnection) {
-            pc.printf("sending Notification\r\n");
+            pc.printf("sending Notification: %d\r\n", counter);
             buttonServicePtr->updateButtonState(counter);
             counter++;
         } else {