Computer Help Forum

Go Back   vBulletin and Computer Help Forum > Computer Support > Computer Software

Computer Software Tips, reviews, and help with popular computer software packages.

Reply
 
Thread Tools Display Modes
Old 09-10-2012   #1
nasarat
Junior Member
 
Join Date: Sep 2012
Posts: 1
C++ Builder and USB<->RS232

I am trying to make an application with C++Builder which communicates with a PIC16F877A which has a RS232 interface. Unfortunately my computer only has USB ports so I have bought a USB to RS232 converter cable.
Well I am a complete beginner to C++ Builder so really at this point I don't even know it will be possible to do this... Any help and advice would be really appreciated.
nasarat is offline   Reply With Quote
Old 09-10-2012   #2
Greg
Administrator
 
Greg's Avatar
 
Join Date: Feb 2003
Location: Florida
Posts: 5,173
The driver for the USB device should give you the API needed to talk to the serial device transparently? I mean, with the device installed, just talk in C++ as if you did have an actual rs232 port. Make your first code initialize a COM port, 1 through 4, until you get a positive response, when successful, push some data and look for it on the port or grab some data from the port.
__________________
Computers and Accessories Computer Manuals Riderinfo Connect for Bikers
Ad Revenue - Sell link space on your website and profit.
Greg is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 10:58 AM.



vBulletin 3.8.7 Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright vB and Computer Help Forum

EZ software products copyright Greg Lynch 2006-2013