Code for the nRF51822. The BLE advertises, connects to a master, sends information about the status of the LDRs and receives inputs from the Master
Dependencies: BLE_API mbed nRF51822
Fork of BLE_UART1 by
Diff: main.cpp
- Revision:
- 11:4f9451eaca3d
- Parent:
- 10:d4cd8edc6216
- Child:
- 12:51e2c29e3019
--- a/main.cpp Sun Nov 09 21:05:20 2014 +0000 +++ b/main.cpp Sun Nov 09 21:06:47 2014 +0000 @@ -103,7 +103,7 @@ UARTService uartService(ble); uartServicePtr = &uartService; - while (true) { + while (true) { ble.waitForEvent(); } }