ArduinoSuggestions

Distance Sensor

userHead george2002 2024-04-17 05:04:49 817 Views0 Replies

Hello, I purchased the VL53L3CX Distance Sensor.

I have also got Arduino UNO.

I get the code that you suggest in the wiki product document and put it in the Arduino IDE, but it says it's too big.

Specifically: "Sketch uses 62722 bytes (194%) of program storage space. Maximum is 32256 bytes.
Global variables use 11027 bytes (538%) of dynamic memory, leaving -8979 bytes for local variables. Maximum is 2048 bytes."

Can somebody provide me with a code for distance tracking with this sensor that is smaller?

Thank you.