CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Dec 2005
    Posts
    1

    Unhappy serial port pin out & pin in

    hello there...

    i want to make serial port COM1 on pin no 6 give the + & on pin 5 give the - current so it can make LED(light emitting diode) turn on (make a light)
    how to make like that...

    //this is a part of my final project
    pls ...help me...thank's everyone

  2. #2
    Join Date
    Apr 2005
    Posts
    107

    Re: serial port pin out & pin in

    If you are talking about a 9 pin serial port, 5 is already common, and 6 will go from negative to positive with respect to 5 based on the state of the DSR (Data Set Ready) signal.
    It is up to you to figure out, based on your operating system, and computer hardware what is needed to control the state of the DSR line.

    An excellent pinout reference for RS-232 ports is : http://www.lammertbies.nl/comm/cable/RS-232.html

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured