Board index » cppbuilder » RS232 project
2004-02-05 06:25:32 PM
I try to figure out how to use C++ Builder for 1 month but still I have no
idea on how do to an interfacing on rs232. On my project, I suppose to feed
for example 5V to the RS232. The GUI I must create must be able to capture
the 5V and if I cut off the 5V supply, the GUI should detect it and shutdown
the PC safely. My questions are:-
1. Which pin on the RS232 should I feed the 5V?
2. How do I write the GUI program to detect the 5V?
3. How can I see the 5V drop?
I hope someone can help me on this. I'm desperately need some guide.
Examples of program will be gladly aprreciated. I have the regular PC to PC
rs232 interfacing GUI but I don't know how to modify it. Thanks!!