Slightly modified version (to work with processing GUI)
Fork of 6DoF_IMU_readvalue by
Diff: ADXL345_I2C.h
- Revision:
- 5:e4a11d519322
- Parent:
- 3:04df9b19199b
diff -r c7d5863b2576 -r e4a11d519322 ADXL345_I2C.h --- a/ADXL345_I2C.h Thu Oct 24 20:31:54 2013 +0000 +++ b/ADXL345_I2C.h Wed Feb 05 22:12:32 2014 +0000 @@ -147,7 +147,7 @@ * @param Pointer to a buffer to hold the accelerometer value for the * x-axis, y-axis and z-axis [in that order]. */ - void getOutput(int* readings); + void getOutput(short int* readings); /** * Read the device ID register on the device.