Results 1 to 3 of 3

Thread: HELP: How To Use the Serial Port?????

  1. #1

    Question HELP: How To Use the Serial Port?????


    I'm studying Electronics, I'm not going class(jus' through books), so I cant ask anyone for help.

    I used to program alot, but these days its all electrons and protons .

    Does anyone here know how to communicate with the serial port.
    What I mean is, how can I send a "1" or a "high" to, say, pin 1(or any pin for that matter) of the serial port ?

    I know C\C++, a bit of API(mostly forgot all commands), a scratch of PERL and also PASCAL(long time ago).
    If you know how to communicate with the serial port, please help me for I would do anything(I'm on my knees 'cauze Mr.Google was feeling like a long "chat" ) .
    The above named languages are only preference, so if you know another way to solve this prob I would sincerely appreciate it.

    I know this is not the right place to ask this question but here goes:
    Does anyone know what is the voltage and current rating of a serial port's "high" or "1" ?

    I have learnt(a long time ago) how to use the serial port ,in C, to communicate with the PRINTER, actually I have written a tutorial about it here at AO(named:C\C++: Printing To Paper), but I still have absalutely no idea how to send info through the serial port for further usage(amplifying,switching,etc).

    Beware, you who seek first and final principles, for you are
    trampling the garden of an angry God and he awaits you just beyond the last theorem.

  2. #2
    AO Curmudgeon rcgreen's Avatar
    Join Date
    Nov 2001
    I came in to the world with nothing. I still have most of it.

  3. #3
    Senior Member
    Join Date
    Jul 2003
    I think that perl like python probably has a serial port module.

    pythons is called pyserial, check it out


Posting Permissions

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