Potential Confusion: lsm6dsm_ex.h inclusion.
A slight inconsistency/problem:
The file containing the user utility functions (lsm6dsm_ex.h) is not included in lsm6dsm.h and would have to be included manually by the user. This is not reflected in the README example, where only lsm6dsm.h is included but functions from lsm6dsm_ex.h (such as lsm6dsm_calc_acell_data_mG(..) ) are being called.
Should the example be updated to reflect that, or the lsm6dsm.h be updated to include lsm6dsm_ex.h?