I2C to BLE nano with notifications to pi using original mbed os code
Dependencies: BLE_API mbed nRF51822
Fork of BLE_notifications by
Diff: main.cpp
- Revision:
- 13:d4448d59ab69
- Parent:
- 12:e38bb61023ed
- Child:
- 14:700ba072d1a0
diff -r e38bb61023ed -r d4448d59ab69 main.cpp --- 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 {