I am trying to use Your GitHub Library for the grove BMA 400 accelerometer.
I want to use two sensor at the same time, but I can not find a way to do this With the github Library. Am I missing something? I am able to change the i2c adress and use them seperatly when i change the adress in the .h file.
Mvh
Vegar bartnes, norway
Hi @vegar_Bartnes
When you changed the I2C address in the BMA400.h to 0x14, you also need to change the default pad connection to another side
1 Like
Yes, I have done this. When I do this, change to 0x14, the BMA400_example no longer work. But I make it work agen by change the adress to 0x14 in the .h file. But then module with 0x15 adress is no longer found.I see that it is possible to dublicate the library, but that is a lot of work and will use more memory. In other grove modules libraries the i2c adress could be set outside the library, but I could not find this function in the grove BMA400 library?
vegar