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 MMA8452Q mbed nRF51822
Fork of BLE_Accelerometer_final by
Diff: main.cpp
- Revision:
- 2:e78a5ce9f1d7
- Parent:
- 0:6bd1a61571d0
- Child:
- 3:7dc284221369
--- a/main.cpp Thu Apr 07 16:48:47 2016 +0000
+++ b/main.cpp Sun Apr 10 17:47:09 2016 +0000
@@ -39,7 +39,8 @@
ServicePtr->updateXState(x);
ServicePtr->updateYState(y);
ServicePtr->updateZState(z);
- printf("%f;%f;%f\r\n",x,y,z);
+ ServicePtr->updateALLState(x,y,z);
+ printf("%f;%f;%f; \r\n",x,y,z);
}
