This could actually be a bug related to Espruino resetting pin states (even though Serial1 should have stayed as a UART) - try just explicitly setting Serial1 up:
Serial1.setup(9600,{rx:A10,tx:A9});
It shouldn't even need to be called from onInit, but if it doesn't work as-is, try sticking it in just in case.
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.
Hi Alex,
This could actually be a bug related to Espruino resetting pin states (even though Serial1 should have stayed as a UART) - try just explicitly setting Serial1 up:
It shouldn't even need to be called from
onInit
, but if it doesn't work as-is, try sticking it in just in case.