Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: BLE_API mbed nRF51822
Fork of BLE_EvothingsExample_GATT by
Diff: main.cpp
- Revision:
- 5:d0548c64e2e7
- Parent:
- 4:7ef90665b399
- Child:
- 6:97b22b5bfbb8
diff -r 7ef90665b399 -r d0548c64e2e7 main.cpp --- 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