this is program how build nRF51822 to get ADXL345 data
Dependencies: BLE_API mbed nRF51822
Fork of ADXL345_I2C by
Revision 8:a682144e97a8, committed 2017-12-07
- 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);
