copterust / vl53l0x

vl53l0x
Other
11 stars 8 forks source link

Address 0x29 is not always valid #5

Open eupn opened 4 years ago

eupn commented 4 years ago

I can see how it can be valid for a 7-bit address I2C controller. But for some chips, for example, STM32WB55xx or probably the chip in #4, the 0x52 address from the datasheet is actually the valid one.

I have confirmed on my board that 0x52 is working and 0x29 is not. We should be able to specify the address used.

bofh commented 4 years ago

Thank you, that’s probably the reason for #4.

bofh commented 4 years ago

https://github.com/rust-embedded/embedded-hal/issues/147

bofh commented 10 months ago

We should take a look at https://github.com/rust-embedded/embedded-hal/pull/230

bofh commented 10 months ago

Wondering if #10 would help