Set up: which port the Ranger 8-Way (TOF8) uses
The first thing in the program is a "Color Sensor ○ Initialize" block inside "Setup" of the blue "Mini Begin" block, so the MATRIX starts talking to the Ranger 8-Way.
- Open MATRIXblock. A new project already has a blue "Mini Begin" block (if not, drag one from the "Mini Core" category).
- Click the "Sensing" category and find "Color Sensor I2C1 Initialize" (not "Color Sensor V3").
- Put it inside "Setup" and pick I2C1 in the dropdown, the same port the sensor cable is plugged into.