Borland C++ Serial Port communication

A

Andreas Horneff

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
 
B

Bill Thompson

Andreas Horneff said:
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/helpdesk/help/toolbox/instrument/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/network/serialcommunications/article.php/c24
83/


Google Search "Serial port communications" Borland
http://www.traverse.com/people/poinsett/bcbcomm.html
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,053
Latest member
BrodieSola

Latest Threads

Top