Arduino Mega - sending commands via RS232

So the next step is to read the serial input basics tutorial

which has a demo-code that shows how to use start- and endmarkers
which in your case are the "02" and the "03"
to receive the characters into an array and then you can pickout the bytes for further processing the data

1 Like