Thanks - I guess the ideal outcome would be that Espruino could talk to an Arduino that hadn't had any Espruino-specific changes made to it - but I don't know how hard it'll be to make that happen.
It might be worth changing the 4th 'payload' argument into an object, which could have various other initialisation options which could bring it more in line with Arduino.
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.
Thanks - I guess the ideal outcome would be that Espruino could talk to an Arduino that hadn't had any Espruino-specific changes made to it - but I don't know how hard it'll be to make that happen.
It might be worth changing the 4th 'payload' argument into an object, which could have various other initialisation options which could bring it more in line with Arduino.