First it complains that i have to define both tx and rx pin,
Try updating your Espruino firmware :)
Ok, so it might be you have to send some data first to kick it off? If so I guess you'll need to set up a tx pin anyway
Yeah. Quiestion is how do i send the correct data ? Tested this without good result;
const packLength = E.toUint8Array("COMM_GET_VALUES").length; const sendData = E.toUint8Array(2, packLength, "COMM_GET_VALUES", 3); Serial1.write(sendData);
@Gordon started
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.
Try updating your Espruino firmware :)
Ok, so it might be you have to send some data first to kick it off? If so I guess you'll need to set up a tx pin anyway