I have to calculate a checksum for some data that I will be transmitting. The communication manual says:
"Checksum
This represents an "OR exsclusive" of all preceding bytes (identification, length and data bytes)"
I was hoping to use the CHECKSUM command, but didn't find a function that will produce this result. Can I use MATH in a FOR/NEXT loop to cycle through each of the Bytes of data with an "^" to XOR each Byte with the next?
Any advice is appreciated.