delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/07/30/11:25:24

X-Originating-IP: [64.105.49.194]
From: "Rinkle Roff" <esusx AT hotmail DOT com>
To: djgpp AT delorie DOT com
Subject: hex bytes thru BCSerio
Date: Mon, 30 Jul 2001 15:24:51
Mime-Version: 1.0
Message-ID: <F78auNjVuMhvqgStMVh00008aa8@hotmail.com>
X-OriginalArrivalTime: 30 Jul 2001 15:24:51.0338 (UTC) FILETIME=[C6C776A0:01C1190B]
Reply-To: djgpp AT delorie DOT com

ahlan,

i am trying to use BCSerio to send bytes of hex to my serial port.
using 8-N-1, i want to specify each of the data bits as high or low.

BCSerio lets me send chars to the com port.  I could convert the hex
i want to send into ascii, then send it, but but ascii chars go up to 0x7f.  
if i wanted to send 0x9b, or some hex byte that doesn't have
an ascii equivalent, i'd be stuck.

can anyone clue me in on different ideas or approaches to doing this?

shukran,
sammy

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019