I'll produce another log for you (attached), or you can try it for yourself: if you drop the baudrate in the test down to 9600, you'll see you get more recv events before all the serial data has been buffered by ipdHandler and the deltatime between each one is ~500ms. Once the idpHandler is finished then the deltatime between each recv event is down to ~14ms
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
I'll produce another log for you (attached), or you can try it for yourself: if you drop the baudrate in the test down to 9600, you'll see you get more
recv
events before all the serial data has been buffered byipdHandler
and thedeltatime
between each one is ~500ms. Once theidpHandler
is finished then thedeltatime
between eachrecv
event is down to ~14ms1 Attachment