Link to home
Start Free TrialLog in
Avatar of Lillan061397
Lillan061397

asked on

Sending bytes using the serial com-port

Hi!
I need help whith sending bytes to the serial com-port. Sending Char is no problem, but I want to send Byte. Whith Byte I meen that I want to be able to send 123 in one byte and not in three. How do I do that? I'm using Delphi 2 and overlapped structure on the port, if need to know that.
ASKER CERTIFIED SOLUTION
Avatar of GGR
GGR

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Lillan061397
Lillan061397

ASKER

I want aByte to have the value 123. 123 is an integer and not a string. It's very important that the value is correct.

Thanks!
It works!!! Thanks! The ASCII tabel I first had was wrong, so I thought that it didn't work.

Linda.