2020-06-11, 11:01 PM
(2020-06-11, 07:45 PM)olewsaa Wrote:(2020-06-11, 06:11 PM)richardonaboat Wrote:(2020-05-14, 03:25 PM)abarrow Wrote: it appears that someone has already done a 9bit version of SoftwareSerial for ESP. https://github.com/ionini/espsoftwareserial
espsoftwareserial works well for me on my web based autopilot controller. Set up 8bit Mark/space parity. Parity bit will be mark for command bytes. Call readParity to check.
Could you share some of your code ?
I have put the code onto github (I hope - I'm new to this app)[/url]
[url=https://github.com/richardJG/APRemote]APRemote control
It asumes that your Seatalk 1 interface inverts the signal otherwise change true to false in the software serial initialization
mySerial.begin(4800, SWSERIAL_8S1, RX_IN, TX_OUT, true, 256, 256);
Processing Seatalk takes place in the readST function.