Wowwee MIP V2 icon Wowwee MIP V2 UART interface to hack WowWee MIP with ESP32/ESP32‑Cam or EZ‑B v4 for ARC; hardware UART preferred, configurable power and baud 9600/115200 Try it →
 

Read

I2C.read(address, bytesToExpect, [ezbIndex])

Parameters

address Address of the device to read from as a hexadecimal number (e.g.0x5e).
bytesToExpect Number of bytes to read from the device.
ezbIndex (optional) Board index of the EZB to read from.

Returns

A byte array of length bytesToExpect containing the bytes read from the device.

Description

Reads bytesToExpect bytes from the device at address and returns them as a byte array.