The MSR145 is a mini data logger that records many measures like temperature, humidity, light 3-axis acceleration and more. It comes from a application to read and export data. But this code allows you to access the real-time value from your own application.
Link: http://www.msr.ch/en/product/msr145.php.
Clone the repository.
git clone https://github.com/brtrndb/msr145.git
This solutions includes the source files Msr145.h
and Msr145.cpp
but also the main.cpp
for testing.
To use it, include both Msr145 files in your project.
There is probably some bugs and certainly many optimisations to do. But I don't have the sensor anymore, so I can't work on it.