Hmm. Per this page: http://www.espruino.com/ESP32 UART2 is on 16 and 17... (and it works beautifully on these pins)
So something isn't making sense here...
Another thing that's strange here is that - at least at 115200 baud - on ESP32 side, the on('data') callback is called only once, with the whole blob of data, rather than once per char...
© Espruino, powered by microcosm.
Report a problem