Good Tutorials on parallel port and serial port programming

Posted on 2011-05-05
Last Modified: 2012-08-14
Hello Everyone,

I need to learn how to programs I/O devices such as printers, monitors, mouse, and other hardware to work with an application.  The only knowledge I have about programming with ports is socket programming.  What OS should I be using and development environment.  If there is any other way to program I/O devices please let me know.  But, if you could lend me your advice to point me in the right direction it would be greatly appreciated.
Question by:brich744
    LVL 86

    Accepted Solution

    For Lunix, see

    and (both together).

    For Windows, the probably most comprehensive resource is ("Serial Communications in Win32"). Note that the parallel port is dealt with in pretty much the same way.
    LVL 12

    Expert Comment

    >>>>"What OS should I be using and development environment."

    this question has no perfect answer. It depends where you will ultimately apply your knowledge. If you are targeting the Embedded Environment then the OSes that you should get familiar with are probably not heavy weights like Windows.

    Have you taken a look at VxWorks?

    As for the programming languages C is good option. The Keil compiler should suffice


    Featured Post

    What Is Threat Intelligence?

    Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

    Join & Write a Comment

    This tutorial is posted by Aaron Wojnowski, administrator at  To view more iPhone tutorials, visit This is a very simple tutorial on finding the user's current location easily. In this tutorial, you will learn ho…
    This article shows you how to optimize memory allocations in C++ using placement new. Applicable especially to usecases dealing with creation of large number of objects. A brief on problem: Lets take example problem for simplicity: - I have a G…
    The goal of this video is to provide viewers with basic examples to understand opening and writing to files in the C programming language.
    The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

    754 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now