There should be hardware serial named Serial1 so you just Serial1.setup(...) it and it should work. It definitely works with 115200 speed.
Software only is new Serial(). It is exactly the same on STM32(?)
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.
There should be hardware serial named Serial1 so you just
Serial1.setup(...)
it and it should work. It definitely works with 115200 speed.Software only is
new Serial()
. It is exactly the same on STM32(?)