LiquidCGS / FastIMU

the IMU library to rule them all (wip)
MIT License
139 stars 17 forks source link

Support LSM6DSL alternate address #17

Closed DeemDeem52 closed 6 months ago

DeemDeem52 commented 7 months ago

I've been testing this repository with a PCB containing an LSM6DSL chip, which has been hardwired to have the alternate byte address of 0x6B instead of the default 0x6A. Once I fix the defines, it works like a charm!

LiquidCGS commented 6 months ago

That would actually point towards your IMU being something else than a LSM6DSL? from what I can find: LSM6DS0 returns 0x6C so that's not it, LSM6DSL retuns 0x6A, LSM6DSM returns 0x6A, LSM6DSV returns 0x70, LSM6DS3 returns 0x69...

Either way, this code should work with most of these since they have very similar registers.