the code that i have run is in the zip folder called SparkFUN_VL6180X_demo and the error i am getting is when i go to view the results in figure 1. it read the distance correctly for the starting distance just as i open the serial monitor but then all i get is the last line :
20:17:48.971 -> Ambient Light Level (Lux) = 4.12
20:17:48.971 -> Distance measured (mm) = 94
20:17:50.518 -> N$⸮⸮4⸮⸮ ⸮ ⸮⸮⸮K,⸮ ⸮⸮⸮ۧ⸮ ⸮⸮⸮F⸮ K⸮⸮F84z
SparkFun_ToF_Range_Finder-VL6180_Arduino_Library-master.zip (15.8 KB)