sparkfun / SparkFun_VL53L1X_Arduino_Library

A library for the laser based VL53L1X Time Of Flight distance sensor capable of detecting a target 4m away!
MIT License
88 stars 50 forks source link

Library causing reset on NodeMCU #24

Closed imreotto closed 5 years ago

imreotto commented 5 years ago

https://github.com/sparkfun/SparkFun_VL53L1X_Arduino_Library/blob/75f65f0b1429ceda8776f5752d8b147c518098f7/src/SparkFun_VL53L1X.cpp#L8

In order for this Library to work on NodeMCU V1 had to change the line *_i2cPort = i2cPort; to _i2cPort = &i2cPort; Which imho is the correct way to point to an object.