Code For Lidar Lite V3 Using Arduino

sorry Im only 14 and new to arduino software and Im just trying to programe the sensor to flash an LED more rapidly as distance decreases but i am not having much sucsess while doing so. I would be greatful if you (PaulS) could put me on the path regards to making my code work