SEN0524 ToF Sensor - I2C code
I'm trying to use this SEN0524 ToF Sensor with i2c communication.
I have successfully change the communication method from UART to I2C using the an adapter and the configuration tool, but there is no example code for I2C.
Would it be possible to provide a simple code to get the distance using I2C?
Thank you very much!
There is only a sample code for I2C for now. You can refer to the communication protocol given by the wiki to write the code yourself.
You can refer to the I2C code for this sensor, which includes ArduinoC and Python.https://github.com/cdjq/DFRobot_LTR390UV/tree/master
This is the IIC protocol for the LTR390 UV.jenna