Connecting Arduino with Simulink a bit hard

Share
Connecting Arduino with Simulink a bit hard

Trying to connect a distance sensor that works over I2C with Arduino and god damn Simulink is confusing. There is no library for sensor that I'm trying to connect (vl6180 sensor), and reading data over I2C is not the way to go. Probably need to buy the right kind of sensor.

Btw when I was buying vl6180 sensor, the specs said it is 50 cm range, however it's 20 cm. Liars...ž