hi
i want send and receive Hex data to com port1 with protocol 10(ie creating user own custom protocol.)
i want send hex data " &HE1 &HE1 &HFE &H01 &H01 &H01 &HE3 &H53 &H53 &H0D"
i coded that
'------send hex data to com port1
A$=HEX$(&HE1)+HEX$(&HFE)+HEX$(&H01)
A$=A$+HEX$(&H01)+ HEX$(&H01)
A$=A$+HEX$(&HE3)+HEX$(&H53)+HEX$(&H53)+HEX$(&HOD)
B$=NETCMD$(1,A$+"~")
'-------receive hex data from com port1
E$ = INPUT$(1)
How can i send and receive hexa data?