Hello Jambi,
Try the first code (reply#1) replacing the line 6
int accelerometer_data[3];
with the following line:
int16_t accelerometer_data[3];
With that, you are defining the Accelerometer outputs as signed 16 bit values. It should work.
p
Hello Jambi,
Try the first code (reply#1) replacing the line 6
int accelerometer_data[3];
with the following line:
int16_t accelerometer_data[3];
With that, you are defining the Accelerometer outputs as signed 16 bit values. It should work.
p