How to create an array of bytes?

jimmy1981

Member
Joined
Nov 14, 2011
Messages
24
Programming Experience
Beginner
I have a bluetooth pen that I need to send an array of bytes too, can somebody offer advice on how i create an array of bytes for the following:0x68 0x00 0x02 0xFF 0x0A (in the guide this is the array of bytes I need to send)Thanks.
 
The same way you create any other array. This is just one way:
Dim bytes = New Byte() {&H68, &H00, &H02, &HFF, &H0A}
 
Back
Top