serial port control

This is a discussion on serial port control within the C++ Programming forums, part of the General Programming Boards category; Hello all. i want to make a program that can read from the serial port whenever there is something there. ...

  1. #1
    Unregistered
    Guest

    Angry serial port control

    Hello all.

    i want to make a program that can read from the serial port
    whenever there is something there. i tried the _inp(address)
    command (microsof visual C++ 5 compiler) but it is reading the
    address at any time and giving me zeros, i want it to be like an
    interrupt.

    is there a way? like hyper terminal on windows? is it working
    with interrupts?

    thanks a lot.

  2. #2
    End Of Line Hammer's Avatar
    Join Date
    Apr 2002
    Posts
    6,231
    When all else fails, read the instructions.
    If you're posting code, use code tags: [code] /* insert code here */ [/code]

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. serial port to poll on request
    By infineonintern in forum C++ Programming
    Replies: 2
    Last Post: 06-11-2009, 07:52 AM
  2. Serial Port Monitor Control Signals Changes
    By s_Fanous in forum Linux Programming
    Replies: 5
    Last Post: 04-19-2008, 08:02 AM
  3. brace-enclosed error
    By jdc18 in forum C++ Programming
    Replies: 53
    Last Post: 05-03-2007, 06:49 PM
  4. 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
  5. Tab Controls - API
    By -KEN- in forum Windows Programming
    Replies: 7
    Last Post: 06-02-2002, 10:44 AM

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