Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 2005 > Visual Basic 2005 Basics
| Search | Today's Posts | Mark Forums Read
Visual Basic 2005 Basics If you are new to Visual Basic programming with version 2005, this is the place to start your questions. For questions about the book: Beginning Visual Basic 2005 by Thearon Willis and Bryan Newsome, ISBN: 0-7645-7401-9 please, use this forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Visual Basic 2005 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old April 5th, 2007, 03:53 AM
Registered User
 
Join Date: Apr 2007
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default [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


  #2 (permalink)  
Old April 5th, 2007, 10:36 AM
Friend of Wrox
 
Join Date: Nov 2004
Location: Port Orchard, WA, USA.
Posts: 1,621
Thanks: 1
Thanked 3 Times in 3 Posts
Default

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...”?


Similar Threads
Thread Thread Starter Forum Replies Last Post
serial port humayun Linux 0 February 20th, 2006 01:53 AM
Access and serial port johnjohn Access 1 November 22nd, 2004 12:00 PM
Serial Port johnjohn Access VBA 2 November 19th, 2004 02:53 PM
Serial Port johnjohn Classic ASP Databases 1 November 16th, 2004 03:08 AM
Serial Port In C NET4JAGMOHAN C++ Programming 1 January 30th, 2004 07:56 AM





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