サイコン用プログラム BLE通信送信確認
Dependencies: mbed BLE_API nRF51822
Revision 17:e7c43d1b362f, committed 2015-05-27
- Comitter:
- mbed_tw_hoehoe
- Date:
- Wed May 27 13:24:05 2015 +0000
- Parent:
- 16:e2386ded5c74
- Child:
- 18:7ef0e3b768c2
- Commit message:
- bug fix.
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Tue May 26 16:39:02 2015 +0000 +++ b/main.cpp Wed May 27 13:24:05 2015 +0000 @@ -53,7 +53,7 @@ uint8_t accelPayload[sizeof(float)*10] = {0,}; uint8_t defaultWriteValue = 2; -uint8_t writePayload[3] = {0, defaultWriteValue, defaultWriteValue,}; +uint8_t writePayload[2] = {defaultWriteValue, defaultWriteValue,}; GattCharacteristic accelChar (MPU6050_Accel_Characteristic_uuid,