M
Michael Barrido
Greetings I have the following code:
Dim binary_data As Byte() = {&HAA, &HD0, &H15, &HB, &H10, &H0, &H0,
&H0, &H0, &H0, &H0, &H0, &H0, &H0, &H0, &H56}
objPort.Write(SerialNET.Port.ByteArrayToString(binary_data))
Now i want to re-use the bytearray variable "binary_data" to store new
values. Something like:
binary_data = {&HAA, &HD0, &H15, &HB, &H7F, &H10, &H0, &H0, &H0,
&H0, &H0, &H0, &H0, &H0, &H0, &HD7}
but it wont compile.
Can you please tell me how i can re-use "binary_data" to store new values?
Thanks in advance!
Dim binary_data As Byte() = {&HAA, &HD0, &H15, &HB, &H10, &H0, &H0,
&H0, &H0, &H0, &H0, &H0, &H0, &H0, &H0, &H56}
objPort.Write(SerialNET.Port.ByteArrayToString(binary_data))
Now i want to re-use the bytearray variable "binary_data" to store new
values. Something like:
binary_data = {&HAA, &HD0, &H15, &HB, &H7F, &H10, &H0, &H0, &H0,
&H0, &H0, &H0, &H0, &H0, &H0, &HD7}
but it wont compile.
Can you please tell me how i can re-use "binary_data" to store new values?
Thanks in advance!