Thread: Help in hex codes
 |
This question is not answered.
Helpful answers available: 2.
Correct answers available: 1.
|
Posts:
1
Registered:
2/7/16
|
|
How can I send multiple hex codes in delphi?
for example, the hex codes I need to send to the serial port is 1B and 40. How can I send it to the serial port? I can send hex codes to the serial port already but just one hex code, I am having difficulty sending multiple hex codes. Thanks in advance.
I'm sorry if this is in the wrong thread. I didn't realize I was on the wrong thread.
Edited by: Diego Canlas on Mar 14, 2016 12:27 AM
|
|
|
Posts:
467
Registered:
11/3/11
|
|
How can I send multiple hex codes in delphi?
for example, the hex codes I need to send to the serial port is 1B and 40. How can I send it to the serial port? I can send hex codes to the serial port already but just one hex code, I am having difficulty sending multiple hex codes. Thanks in advance.
I'm sorry if this is in the wrong thread. I didn't realize I was on the wrong thread.
Edited by: Diego Canlas on Mar 14, 2016 12:27 AM
how are you sending the single code?
--
Linden
"Mango" was Cool but "Wasabi" was Hotter but remember it's all in the "source"
|
|
|
|
Posts:
314
Registered:
5/16/97
|
|
What I do is get the decimal values and send them as a string.
Like:
ComPort1.Write(#27+#64);
or
ComPort1.Write(#27+'@');
|
|
|
|
Legend
|
|
Helpful Answer
(5 pts)
|
|
Correct Answer
(10 pts)
|
|
Connect with Us