Skip to content

ReadDistanceHardwareInterrupt() not working #5

@KleanOcean

Description

@KleanOcean

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions