Hi, nice to meet you.
I want (Arduino) ------- (Smartphone) Serial connection.
Processing 3.2.1. Android Mode 3.0.1
> API 6.0
======================================================================
import io.inventit.processing.android.serial.*; //ANDROID
Serial myPort;
String inString="";
void setup() {
myPort = new Serial(this, Serial.list(this)[0], 38400);
myPort.bufferUntil(10);
}
//===========INCOMING DATA FROM THERMOSTAT=============
void serialEvent(Serial myPort) {
try {
inString = myPort.readString();
}
catch(RuntimeException e) {
}
}
====================================================================== **Error msg : **