See Robin's Serial Input Basics - updated to get some ideas.
Note: Your code in post #19 will not work reliably; serial is slow so the processor might see 3 bytes followed by 5 bytes followed by 4 bytes.
See Robin's Serial Input Basics - updated to get some ideas.
Note: Your code in post #19 will not work reliably; serial is slow so the processor might see 3 bytes followed by 5 bytes followed by 4 bytes.