Pololu VL53L0X time of flight sensor

Hello I have purchased a Pololu VL53L0X time of flight sensor, after installing the libraries and running it on the Arduino Mega, the response I get on the monitor is 65535. Could you please help me fix this and get a proper reading.

Hello.

What code are you running? How are you supplying power? Can you post pictures here that show your connections?

-Nathan

Hi,

Thanks for your quick response it is very much appreciated.

I went back and checked all my connections and found a loose wire, and it is now working perfectly.

I am using the program from GITHUB, taken off the Pololu web and it is working good.

Again thanks for the support

Cheers

Andy