The same example in MicroPython for the ESP8266: import machine def read_channel(i2c, channel): if not 0 <= channel <="11:" raise valueerror() data="i2c.readfrom_mem(0x35," 0x61 | (channel << 1), 2) return ((data[0] & 0x0f) 8) data[1] i2c="machine.I2C(-1,"...