I2C address BendLabs

Hi, i have a problem with I2c Address of BendLabs

how about a bit more information… so we can try to help:

what is the problem?
what does not work?
what is your setup hardware/software?
what error messages (if any)?
what have you tried ?

2 Likes

I connected two bendLabs to an Arduino. The first has a default I2C address, while the second has an address of 45. Using the sample code of the SparkFun_Displacement_Sensor_Arduino_Library library. h does not update my two sensor readings

SparkFun Displacement Sensor Example

No sensor detected. Check wiring. Freezing…

How can I fix it?

Both Sparkfun products with Bendlabs have been retired a while ago. Maybe try more up to date code from Bendlabs themselves : Bend Labs · GitHub

Hi @FrancescaDo ,

Did you try: myFlexSensor.begin(0x45) ?

If the address is 45 decimal (not hex), try myFlexSensor.begin(45)

I hope this helps,
Paul