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!
2023-06-01 18:07:33
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.