this profile using UART with ADXL335 accelerometer, but this is can't reach accelerometer sensor.. please help me to fix it
Dependencies: BLE_API mbed nRF51822
Fork of UART_ADXL335 by
Diff: main.cpp
- Revision:
- 13:15764cc1f12c
- Parent:
- 12:33153cf38631
- Child:
- 14:4dfb61282efb
--- a/main.cpp Mon Aug 24 12:34:53 2015 +0000 +++ b/main.cpp Tue Sep 29 12:02:15 2015 +0000 @@ -33,7 +33,7 @@ UARTService *uartServicePtr; -void disconnectionCallback(Gap::Handle_t handle, Gap::DisconnectionReason_t reason) +void disconnectionCallback(const Gap::DisconnectionCallbackParams_t *params) { DEBUG("Disconnected!\n\r"); DEBUG("Restarting the advertising process\n\r");