Is there an example project somewhere that reads data from all sensors on the sensor hub? I imagine it would be very useful as the base for many projects.
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Is there an example project somewhere that reads data from all sensors on the sensor hub? I imagine it would be very useful as the base for many projects.
Hello James,
The different examples in the TIVAWare for the sensors have different slave address. There is not a consolidated example. But one can be done using these examples.
#define MPU9150_I2C_ADDRESS 0x68
#define SHT21_I2C_ADDRESS 0x40
#define ISL29023_I2C_ADDRESS 0x44
#define BMP180_I2C_ADDRESS 0x77
#define TMP006_I2C_ADDRESS 0x41
Regards
Amit
I accepted the answer however I'm surprised the example I'm looking for doesn't exist. I'm certain I'm not the only one who is designing an application that wants full functionality from the senshub. It seems to me it would save a lot of programming.
Hello Jamie,
It's easy adding smaller examples to make a larger example. But when it comes to using a larger example for a smaller application, the cut and paste often leads to issues. That is why we call them building blocks.
I can understand that your requirement is for a large code, and I belive we can help you build it and make the same a useful resource for the community like in the past.
Regards
Amit