I have been trying to use the distance sensor on my GoPiGo2. I have downloaded the DI_sensor library, however, i keep getting errors when i try to run my code. Even when I try to run the example in the DI_sensors library I get an error
IOError: [Errno} Input/Output error.
Even though I have it connected to I2C port and it is enabled on the Pi.