Hi ,
I need to read serial using ESP8266 as well. My controller LQR (Arduino Mega) is running 6 ms (loop period). So I wanna read serial as fast as possible.
I'm testing read serial with Arduino Mega:
1º Test
while(Serial.available() ) => 1200 us
2º Test
SerialEvent => 400 us
pedropjk:
Hi ,
I need to read serial using ESP8266 as well. My controller LQR (Arduino Mega) is running 6 ms (loop period). So I wanna read serial as fast as possible.
I'm testing read serial with Arduino Mega:
1º Test
while(Serial.available() ) => 1200 us
2º Test
SerialEvent => 400 us
Will you please, explain in plain language the meanings of the following extracted from the above quote?
- MEGA is running 6 ms (loop period);
- while(Serial.available() ) => 1200 us;
- SerialEvent => 400 us;