Open patrickpoirier51 opened 7 years ago
To properly read data, the smbus read has be on write byte/read byte transaction
def readAndWait(self, register): self.bus.write_byte(self.address, register) res = self.bus.read_byte(self.address) return res
To properly read data, the smbus read has be on write byte/read byte transaction
def readAndWait(self, register): self.bus.write_byte(self.address, register) res = self.bus.read_byte(self.address) return res