how can i read data from com port

This is a discussion on how can i read data from com port within the Networking/Device Communication forums, part of the General Programming Boards category; dear all, i want to read the data from the com port,i am a beginner so give brief idea about ...

  1. #1
    Registered User
    Join Date
    Aug 2004
    Posts
    3

    Exclamation how can i read data from com port

    dear all,
    i want to read the data from the com port,i am a beginner so give brief idea about the com port reading and what book i have to read

    Thanks in advance

  2. #2
    Registered User Draco's Avatar
    Join Date
    Apr 2002
    Posts
    463
    Don't double post. If it was an accident it's fine, but please make sure you have read the rules to realize that this not only is against them, but usually makes people mad. Any books that involve the com port on www.thinkgeek.com would be at least decent ones, maybe you will have some success there.

  3. #3
    Registered User
    Join Date
    Nov 2001
    Posts
    1,348

  4. #4
    C maniac
    Join Date
    Aug 2004
    Location
    Cyberwarping to Middle Earth
    Posts
    154
    If your compiler supports inport or inp, then you can use them with 0x2F8 for COM2 or COM4, else 0x3F8 for COM1 or COM3.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Read data from file - C program ?
    By Pawan Sangal in forum C Programming
    Replies: 2
    Last Post: 08-22-2008, 05:28 AM
  2. Replies: 3
    Last Post: 02-29-2008, 01:29 PM
  3. I need help as soon as possible.
    By hyrule in forum C++ Programming
    Replies: 7
    Last Post: 11-09-2005, 05:49 PM
  4. Replies: 1
    Last Post: 09-10-2005, 07:02 AM
  5. DOS, Serial, and Touch Screen
    By jon_nc17 in forum A Brief History of Cprogramming.com
    Replies: 0
    Last Post: 01-08-2003, 04:59 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21