Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
12/24/04 05:42
Read: times


 
Msg Score: -1
 -1 Off-Topic
#83755 - About Send byte in Visual Basic
X'Mas.

I am going to send 6 byte to the 8052 "uP" through serial port.
however, the MScomm1.output="string" command in VB always send out a Ascii code of the string.

how can i send out a byte (actual value but not Ascii code) in VB?
i.e. Mscomm1.output=1;
phyically it will send out 00110001
how can i send out 0000 0001 in VB?

Please help

Regards,

Ray

List of 8 messages in thread
TopicAuthorDate
About Send byte in Visual Basic            01/01/70 00:00      
   Select the binary mode            01/01/70 00:00      
   Off-Topic; Didn't Search First            01/01/70 00:00      
   Your string            01/01/70 00:00      
      RTFM!            01/01/70 00:00      
         Don't be silly!            01/01/70 00:00      
            Silly manuals            01/01/70 00:00      
               try to send it with Hex            01/01/70 00:00      

Back to Subject List