def writeRegister(self, register, value):
    try:
        return self.write_register(register, value)
    except Exception as e:
        print(e)
def writeRegister(self, register, value):
    try:
        return self.write_register(register, value)
    except Exception as e:
        print(e)