in reply to Re: I2C help (from python)in thread I2C help (from python)
So the line is probably equivalent to: 01 self.DEVICE_REG_DATA = self.DEVICE_REG_DATA & 1111_1110
That would have to be: self.DEVICE_REG_DATA = self.DEVICE_REG_DATA &0b1111_1110