Good suggestion, thanks Gordon, I tried that and got this:
Serial1.setup(100000, {rx:B7,parity:E,stopbits:2});
Serial1.on('framing', function() {
console.log("frame");
print(E.toUint8Array(Serial1.read(25)));
});
new Uint8Array([15, 174, 112, 133])
frame
new Uint8Array([43])
frame
new Uint8Array([92])
frame
new Uint8Array([225])
frame
new Uint8Array([10, 87])
frame
new Uint8Array([184, 194, 21, 174, 112, 133])
frame
new Uint8Array([43])
frame
new Uint8Array([92])
frame
new Uint8Array([225])
frame
new Uint8Array([10, 87])
frame
new Uint8Array(0)
frame
new Uint8Array(0)
frame
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.
Good suggestion, thanks Gordon, I tried that and got this: