serial com port programming

A

Thread Starter

Anonymous

anybody knows how to do programming that can set the pin of the db9 serial com port to on and off state???

the pins other than pin 2, 3 and 5.

or is this possible???
 
R

Robert Scott

Yes, in Windows programming you can do this with the SetCommState API function. You can set the state of DTR and RTS. In DOS you can do it by writing directly to the UART registers.

Robert Scott
Real-Time Specialties
Embedded Systems Consulting
 
M
Short answer - a lot of people know. They just read the serial communications part of the manual of the programming software they are using.

Meir
 
R

Robert Scott

So, was your point to shame the original poster into believing that his question was stupid?

Robert Scott
Real-Time Specialties
Embedded Systems Consulting
 
Top