Question about SparkFun Triple Axis Magnetometer Breakout - MLX90393

Hi! I had a couple of questions about the SparkFun Triple Axis Magnetometer Breakout - MLX90393. My first is, how do you set the specific I2C address of a sensor in the Arduino code by Ted Yapo (https://github.com/tedyapo/arduino-MLX9 … X90393.cpp) and Nathan Seidle (https://github.com/sparkfun/Qwiic_Magne … r/Software)? The 7-bit sensor address can be modified depending on the pinout you use, and I’m wondering how exactly you set this in the code. In addition, would this code work for the MLX90395 sensor? Thanks!

Changing the address is covered in our hookup guide https://learn.sparkfun.com/tutorials/qw … e-overview

I would not expect those to work out-of-the-box with a different sensor. but you might be able to edit the libraries enough to get something going