I2C Communication with a Time-of-Flight Distance Sensor
I tried different libraries, one from adafruit and one from Pololu, but I received different results - for adafruit, I got the range from 20 - 1800 ish; for Pulolu, I got the range from 20 - 8190. Which is really confused me.
It’s working when i’m using the adafruit board with a earphones, but it’s not working when i’m using the sparkfun with a speaker.
I troubleshoot if it’s the speaker has broken, but it’s not. Besides, i checked the wire, but everything was in the right place.
so, i’m confused again.
last but not least, the chip got really hot. :((((