Compares the specified "header" byte with the byte received through a UART interface. If a "header" byte is found, read-packet puts the received bytes into a packet of the specified size
read-packet
@/read-packet
Compares the specified "header" byte with the byte received through a UART interface. If a "header" byte is found, read-packet puts the received bytes into a packet of the specified size
IN@/packet
BYTEbyte
An incoming byte
PUSHpulse
Triggers a new "header" match
HEADbyte
A "header" byte value
DONEpulse
Fires if a "header" is found
OUT@/packet
To use the node in your project you should have the gabbapeople/simple-byte-protocol library installed. Use the “File → Add Library” menu item in XOD IDE if you don’t have it yet. See Using libraries for more info.