import ustruct class SensorBase: def read16(self, register): data = self.i2c.readfrom_mem(self.address, register, 2) return ustruct.unpack('