Code: Select all
rslt = self.i2cbus.read_i2c_block_data(self.__addr, reg, len)
It logically follows that the "i2cbus.read_i2c_block_data" call then errors out for "I2C object has no attribute 'i2cbus.read_i2c_block_data'".
Is there a good place I can go to find what the 'import board' version would be for 'i2cbus.read_i2c_block_data'?
Thanks!
Dave