Follow these steps to check the sensors:
- Go back to the main page and click Code in Bloxter.
- On the right-hand side of the screen, you will see a sliding window, where you can indicate what port you have connected to each sensor. For the purposes of our example, we have set this arrangement:
- The distance sensor plugged to I2C-1, the I2C on the left-hand side of GoPiGo3
- The line follower to I2C-2, the I2C on the right-hand side
- The IMU sensor to AD1 (on the left-hand side)
- As soon as you select a port in DexterOS, you will be able to make a selection for each drop-down menu that appears, which is all about the real-time data coming from the sensors, as shown in the following screenshot:
- Check all three—that is, ...