p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   Visual Basic 2005 Basics (http://p2p.wrox.com/forumdisplay.php?f=137)
-   -   [vb2005] sending binary over serial port (http://p2p.wrox.com/showthread.php?t=56283)

popit911 April 5th, 2007 03:53 AM

[vb2005] sending binary over serial port
 
Hello to every one.:D

I am writing a program in vb2005 which needs to send binary data which will be used to control a FTDI UM245R chip.

I thought i could use the HEX values of keys like #9786; but this only works for values that appear on the keyboard like @. I need to send single high bits like 4, 8, 16, 32 ,64,128 in binary to control the airship.

If anyone could help I would be very greatful

popit911



BrianWren April 5th, 2007 10:36 AM

Anything you send over a serial port is binary... If you could give finer-grained details, that would be helpful. Could you clarify (perhaps through examples) the meaning of “...need to send single high bits like 4, 8, 16, 32, 64, 128...”?


All times are GMT -4. The time now is 01:35 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.