Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ReadDistanceHardwareInterrupt() not working #5

Open
KleanOcean opened this issue Jul 25, 2022 · 0 comments
Open

ReadDistanceHardwareInterrupt() not working #5

KleanOcean opened this issue Jul 25, 2022 · 0 comments

Comments

@KleanOcean
Copy link

I use ESP32 on platform I/O, all other functions in this library works fine. I connectted VL53L1X's GPIO 1 to the GPIO 4 of ESP 32, with a 22 ohm resistor. I also connectted each of the SCL and SDA a 22k resistor to the Vcc.

WIth I run the ReadDistanceHardwareInterrupt(), no error is happening, but no response too. The GPIO 1 of VL53L1X is always high, regardless of the setting of sensor.SetInterruptPolarity(ActiveLOW) or sensor.SetInterruptPolarity(ActiveHIGH. Seems here has a problem? so the input pin 4 of ESP32 canot receive interrupt signal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant