Based on https://os.mbed.com/users/Airium/code/module_LSM303DLHC/ Main difference is the usage of the I2C - now it is passed as parameter making cooperative use easier. LSM303DLHC Full Driver: Readings For Acc, Mag and Temp; Class Method for frequently-used 13 sensor parameters; Class Method to direct modify registers; Support Calibration (offset scale);

Download repository: zip gz

Files at revision 1:4ee6df2df73a

Name Size Actions
[up]
LSM303DLHC.cpp 8605 Revisions Annotate
LSM303DLHC.h 9441 Revisions Annotate
LSM303DLHC_REG.h 2291 Revisions Annotate