-
Notifications
You must be signed in to change notification settings - Fork 54
Closed
Description
At first power on, the library is unable to begin a sensor. I think it's related to the changes made within VL53L1X_SensorInit()
To replicate,
- load any example and check for when begin() returns != 0. (We need to fix the examples to freeze on failure)
- Hold Uno in reset
- Unplug, then replug sensor
- Release reset on Uno
Sketch will fail to init sensor every time.
Hitting reset on Uno (no sensor power cycle), library starts every time.
I think most users aren't seeing this because they are hitting reset or some other power sequence.
Also related (I think) - library freezes when no sensor is connected.
Metadata
Metadata
Assignees
Labels
No labels