Incorrect I2C address for magnetometer
kyle-kelly opened this issue · 1 comments
kyle-kelly commented
According to the Table 20 of the LSM9DS1 datasheet, Line 36 in your file SparkFunLSM9DS1.h should be changed to
#define LSM9DS1_M_ADDR(sa1) ((sa1) == 0 ? 0x1C : 0x3C)
This change should propagate through the rest of your documentation.
kyle-kelly commented
Sorry, didn're realize <wire.h> uses a 7-bit address.