llmclaughlin
Programmer
I'm getting bytes from a device which is in a reverse order, I need to reverse the bytes and convert that from a byte array to a single datatype.
This will give me the reverse of the byte order
Dim ucConversion(3) as byte
Dim ucNodePacket(26) as byte
For i = 0 to 3
ucConversion(i) = ucNodePacket(13 - i)
next
Now I need to convert the ucConversion(bytearray) to a single data type, this is where I need help.
Thanks
This will give me the reverse of the byte order
Dim ucConversion(3) as byte
Dim ucNodePacket(26) as byte
For i = 0 to 3
ucConversion(i) = ucNodePacket(13 - i)
next
Now I need to convert the ucConversion(bytearray) to a single data type, this is where I need help.
Thanks