String i2cRxBytes(byte, byte, int, int)

Receives raw data from the device with the given address and register address.

Parameters

Name Description
address byte
The device address.
registerAddress byte
The register address.
count int
The number of bytes to receive.
type int
The board type (GPIOTypes).

Return

A JSON array of bytes data.

Requirements

KioWare for Android version 4.0 or greater.