As stated in LIS2DH datasheet in section "5.1.1 I2C Operation", in order to read/write multiple bytes on I2C it is necessary to add the autoincrement bit to the subaddress field. Signed-off-by: Armando Visconti <armando.visconti@st.com> |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| Kconfig | ||
| lis2dh_trigger.c | ||
| lis2dh.c | ||
| lis2dh.h | ||