Hello, I want to calculate the time within the Serialevent Methode.
static class SerialPortReader implements SerialPortEventListener {
public void serialEvent(SerialPortEvent event) {
startLoop = millis();
...
...
long endLoop = millis();
println("Looptime = "+(endLoop - startLoop));
}// End of serialEvent
}// End of SerialPortReader
I'm not static friendly :)) ;)