Hello, this is my first post on here so please be patient. I am working on a project that will use two LSM303DLHC’s to find relative angles.
The problem I have come across is that the i2c slave addresses are not programmable on these chips and thus there can be only one per i2c bus. (please correct me if I am wrong here)
I have looked into a work around for this and have come up with either implementing soft i2c and having two separate buses, or using a multiplexer to switch between the two slave devices.
Could someone please let me know which direction would be easier to implement and have less trouble down the line.
Thanks
Update: Sorry I didn’t mention it. I’m using an arduino MEGA. I have downloaded the soft i2c library but have not implemented it yet.