Closed BiffoBear closed 3 years ago
adafruit_bus_device/i2c_device.py line 180 raise ValueError("No I2C device at address: %x" % self.device_address)
raise ValueError("No I2C device at address: %x" % self.device_address)
would be better as; raise ValueError("No I2C device at address: 0x%x" % self.device_address)
raise ValueError("No I2C device at address: 0x%x" % self.device_address)
as the hex address without a prefix is ambiguous.
solved :)
adafruit_bus_device/i2c_device.py line 180
raise ValueError("No I2C device at address: %x" % self.device_address)
would be better as;
raise ValueError("No I2C device at address: 0x%x" % self.device_address)
as the hex address without a prefix is ambiguous.