this is program how build nRF51822 to get ADXL345 data

Dependencies:   BLE_API mbed nRF51822

Fork of ADXL345_I2C by Peter Swanson

Revision:
8:a682144e97a8
Parent:
7:31412349a322
Child:
9:1e04b80d7199
--- a/main.cpp	Wed Dec 06 04:42:53 2017 +0000
+++ b/main.cpp	Thu Dec 07 06:08:01 2017 +0000
@@ -101,6 +101,7 @@
  {
      uart1.baud(9600);
      int readings[3] = {0, 0, 0};
+     
      //calibrate();
      uart1.printf("Starting ADXL345 test...\n");
      wait(.001);