4,199
edits
Changes
m
{| cellspacing="1" cellpadding="1" border="1" width="500"|-| Finally we are going to read gravity force: LIS3DH has ±2g/±4g/±8g/±16g dynamically selectable full scale (See chapter 8.11). The axes values are expressed in two’s complement in 16 bits (See chapters 8.16, 8.17 and 8.18). | [[Image:Lis3dhxyzaxes.png|150x159px]]|}
no edit summary
=== Read accelerometer axes ===
<pre>root@igep00x0:~# ./spiexampleb2 -T
spi mode: 0