Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Tecknoid

    Serial Port Programming with C/C++

    I'm not sure why mast last reply didn't post, but I was restating my question: How did you get the inportb and outportb function to work if not defined in a header file? Thanks.
  2. Tecknoid

    Serial Port Programming with C/C++

    I should have asked how you got inportb and outportb to work if those functions are not defined in the header file? Thanks.
  3. Tecknoid

    Serial Port Programming with C/C++

    Hmm. Well in the program that you'r using which header file do you think includes inportb and outportb?
  4. Tecknoid

    Serial Port Programming with C/C++

    I'm using dev c++. Do you happen to know what functions in more contemporary compilers like dev c++ are used for writing to the serial port? I simply want to spit some characters out COM1. Thanks so much.
  5. Tecknoid

    Serial Port Programming with C/C++

    deanlwvu, thank you for responding. I tried compiling the code and of course I experienced errors. The errors had to do with the inportb and outportb functions. Here's one of the errors: [Linker error] undefined reference to `outportb'. Do you know what header file contains these functions? I...
  6. Tecknoid

    Serial Port Programming with C/C++

    I would like to ask deanlwvu (TechnicalUser) about this email: &quot;I was successful in getting this to work using the inportb and outportb functions. /* This program is used to pull data from the serial port */ #include <dos.h> #include <stdio.h> #include <conio.h> #define PORT1 0x3F8 /*...

Part and Inventory Search

Back
Top