By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,701 Members | 1,970 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,701 IT Pros & Developers. It's quick & easy.

Borland C++ Serial Port communication

P: n/a
Hi @ all,

I've got a problem with serial communication in Borland C++ Builder. I've
already found a
lot of stuff about serial communication in the internet, but it dosen't
work.

What I want to do:

I want to connect only one button to my com port. If the button is pressed,
my program should
do somethink.

That's all.

Can someone explain me, on which two pins at the com port do I have to
connect my button?
Maybe someone can post or mail me a little program that resolve my problem.
I need the
initialisation from the com port and a possibility to read from the comport,
spezially read that
pin, my button is connected to.

I hope, that someone can help me!!

Sorry for my bad english :-\

THX

Andreas
Jul 22 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
"Andreas Horneff" <G.**********@gmx.de> wrote in message
news:cf*************@news.t-online.com...
Hi @ all,

I've got a problem with serial communication in Borland C++ Builder. I've
already found a
lot of stuff about serial communication in the internet, but it dosen't
work.

What I want to do:

I want to connect only one button to my com port. If the button is pressed, my program should
do somethink.

That's all.

Can someone explain me, on which two pins at the com port do I have to
connect my button?
Maybe someone can post or mail me a little program that resolve my problem. I need the
initialisation from the com port and a possibility to read from the comport, spezially read that
pin, my button is connected to.

I hope, that someone can help me!!

Sorry for my bad english :-\

THX

Andreas

Complete OT for this group. Simple internet searches can help you find
information.

google search "Serial port communications" "Pin assignments"
http://www.mathworks.com/access/help...nt/ch_seri6.ht
ml

http://www.lammertbies.nl/comm/cable/RS-232.html
Google Search "Serial port communications" MFC
http://www.codeguru.com/Cpp/I-N/netw...rticle.php/c24
83/
Google Search "Serial port communications" Borland
http://www.traverse.com/people/poinsett/bcbcomm.html


Jul 22 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.