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.
Fork of mbed-os-example-ble-LED by
Revision 48:1700da51ef71, committed 2017-11-29
- Comitter:
- vidica94
- Date:
- Wed Nov 29 13:39:56 2017 +0000
- Parent:
- 47:913bdb3e235d
- Commit message:
- funzionicchia
Changed in this revision
source/main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 913bdb3e235d -r 1700da51ef71 source/main.cpp --- a/source/main.cpp Thu Nov 23 14:00:24 2017 +0000 +++ b/source/main.cpp Wed Nov 29 13:39:56 2017 +0000 @@ -48,7 +48,10 @@ */ void onDataWrittenCallback(const GattWriteCallbackParams *params) { if ((params->handle == ledServicePtr->getValueHandle()) && (params->len == 1)) { - actuatedLED = *(params->data); + int ciao=*(params->data); + actuatedLED = ciao; + printf("actual led %d \n", ciao); + } }