this is program how build nRF51822 to get ADXL345 data

Dependencies:   BLE_API mbed nRF51822

Fork of ADXL345_I2C by Peter Swanson

Files at this revision

API Documentation at this revision

Comitter:
asyrofi
Date:
Thu Dec 07 06:08:01 2017 +0000
Parent:
7:31412349a322
Child:
9:1e04b80d7199
Commit message:
spi mantaplah;

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- 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);