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);
History
Version working. Temperature sensor provide strange results. Is to be extended with orientation measurement.
2020-02-03, by Pythia [Mon, 03 Feb 2020 07:43:48 +0000] rev 1
Version working. Temperature sensor provide strange results. Is to be extended with orientation measurement.
LSM303DLHC interface library - based on "Airium" code but made able to cooperate with other I2C Equipment. Also self scaling depending on range change. ; Work in prograss (yet mostly working)
2020-01-24, by Pythia [Fri, 24 Jan 2020 16:06:24 +0000] rev 0
LSM303DLHC interface library - based on "Airium" code but made able to cooperate with other I2C Equipment. Also self scaling depending on range change. ; Work in prograss (yet mostly working)