String writeRead(String)
Sends the raw data to the board and returns the response as a string.
Parameters
Name | Description |
data |
String The raw data to write to the device. |
Return
The response from the device.
Examples
function writeRead() {
if (!KioGPIOBoard.isOpen()) return;
var response = KioGPIOBoard.writeRead('raw data');
KioWareUtils.LogInfo(response);
}
Requirements
KioWare for Android version 3.22 or greater.