Read a specific hex byte from a data packet

Your page in How do I continuously serial print last string of data received on Uno? - #7 by semmons3 says you can't assume that 0x55 0xAA is always the start of a packet. since it could be part of the packet.. For instance a packet for address 0x55 that happens to be 0xAA characters long would start 0x55AA55AA...

1 Like