def _select_device(self, addr): """Set the address of the device to communicate with on the I2C bus.""" ioctl(self._device.fileno(), I2C_SLAVE, addr & 0x7F)