If the ESC continuously sends the data, you can take a look at the GPS or the PMS7003 code.
"Just" open the serial port, collect the bytes, and process it when you have a full paket.
Of course looks like you have variable packet length, so it's not trivial...
© Espruino, powered by microcosm.
Report a problem