Connecting TOF10120 Sensor to Arduino Uno via I2C

7 views (last 30 days)
I am trying to get my command window to display live distance measurements from a TOF10120 sensor, but am hhaving some difficulties setting it up. It is connected I2C. Little bit of a noob here when it comes to arduino support package. Any help would be greatly appreciated!!
Only have this so far:
a = arduino('COM3','Uno','Libraries','I2C');
dev = device(a,'I2CAddress','0x52');
Any heelp would be amazing.

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!