You could also try using USB, rather than serial. USB has some rate-limiting built in, so you shouldn't have the FIFO_FULL error.
To do USB, you just swap Serial1 to USB in your code, and add Serial1.setConsole() to move Espruino's console over to Serial1 (to get it out of the way of USB).
© Espruino, powered by microcosm.
Report a problem