test
Dependencies: BLE_API mbed nRF51822
Fork of Connect_Test4 by
Diff: main.cpp
- Revision:
- 5:d0548c64e2e7
- Parent:
- 4:7ef90665b399
- Child:
- 6:97b22b5bfbb8
--- a/main.cpp Sat Feb 14 15:27:51 2015 +0000 +++ b/main.cpp Sat Feb 14 15:43:55 2015 +0000 @@ -37,6 +37,8 @@ void writeCharCallback(const GattCharacteristicWriteCBParams *params) { //TODO: when character is written here change the LED, update the read characteristic, and print out to console + led = params->data[0]; + printf("LED Written To, value=%x",params->data[0]); } int