Hi I am very new to Arduino products and C programming.
I have been using a LIS3DH sensor for vibration monitoring using the I2C protocol and have been successful in data collection. However i have a new requirement of reading temperature data along with the vibration data. In the data sheet for LIS3DH an embedded temperature sensor is mentioned. I have done some research on using registers to read the temperature data but so far i have not had any success. Few queries
1) Can the temperature data be read using the I2C protocol along with the vibration data
2) Do we require an external sensor to be connected to the LIS3DH for temperature measurement
Testing code has been attached.
Note:- There is no vibration call because i did like to take the temperature separately and simulate.