hi, I'm using an XCSOURCE VL53L0X sensor with its library. I can have on the serial monitor the output data of the distance but I can not associate it with a variable .. I'll explain better, based on the distance measured by the sensor I have to change the brightness of the LED .. as if it were a shade effect but not I can associate the value of distance to a variable that allows me to change the pwm used ... does anyone know the sensor and know how to help me? please help !!
Hi there!
Could you please post the code that you are currently using?