Good Morning!
I'm trying to send a few bytes through my serial port into a remote system, but i'm having a problem... Suposing that i'm trying to send the array of bytes:
68, 00, 00, 68, 00, 00, 00, 00, 80, 00, 01, 81, 00, 16
How to define this array?
Like this?
dim btArray as byte() = { &H68,&H00, &H00, &H68, &H00, &H00, &H00, &H00, &H80, &H00, &H01, &H81, &H00, &H16 }
I've made a test and i saw that &HA = 10 ..., so this is not the way i want this to work. What's the way to get the correct convertion?
Best regards.
I'm trying to send a few bytes through my serial port into a remote system, but i'm having a problem... Suposing that i'm trying to send the array of bytes:
68, 00, 00, 68, 00, 00, 00, 00, 80, 00, 01, 81, 00, 16
How to define this array?
Like this?
dim btArray as byte() = { &H68,&H00, &H00, &H68, &H00, &H00, &H00, &H00, &H80, &H00, &H01, &H81, &H00, &H16 }
I've made a test and i saw that &HA = 10 ..., so this is not the way i want this to work. What's the way to get the correct convertion?
Best regards.
Comment