Fixed algorithm to read 3 bytes of accelerometer data registers

Fork of COG4050_adxl355_adxl357 by valeria toffoli

READMEcalibration.md

Committer:
vtoffoli
Date:
2018-08-14
Revision:
7:5aaa09c40283
Parent:
6:45d2393ef468

File content as of revision 7:5aaa09c40283:

/* -----------------------------------------------------------------------------
/* ADXL calibration equation
/* -----------------------------------------------------------------------------

|acx|   |pxx pxy pxz| |ax| |bx|
|acy| = |pyx pyy pyz|*|ay|+|by|
|acz|   |pzx pzy pzz| |az| |bz|

/* -----------------------------------------------------------------------------
/* ADXL calibration procedures
/* -----------------------------------------------------------------------------

2 MEASUREMENT ORIENTATIONS: the orientations are selected to give an equal 
posit5ive gravitational filed of g/sqrt(3) in each axis followed by -g/sqrt(3) 
in each axis
We assumed that pij=0 when i!=j


3to8 MEASUREMENT ORIENTATIONS


12 MEASUREMENT ORIENTATIONS