Good Tutorials on parallel port and serial port programming

Posted on 2011-05-05
Medium Priority
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

jkr earned 2000 total points
ID: 35701541
For Lunix, see



http://www.faqs.org/docs/Linux-mini/IO-Port-Programming.html (both together).

For Windows, the probably most comprehensive resource is

http://msdn.microsoft.com/en-us/library/ms810467.aspx ("Serial Communications in Win32"). Note that the parallel port is dealt with in pretty much the same way.
LVL 12

Expert Comment

ID: 35703256
>>>>"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

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Templates For Beginners Or How To Encourage The Compiler To Work For You Introduction This tutorial is targeted at the reader who is, perhaps, familiar with the basics of C++ but would prefer a little slower introduction to the more ad…
IntroductionThis article is the second in a three part article series on the Visual Studio 2008 Debugger.  It provides tips in setting and using breakpoints. If not familiar with this debugger, you can find a basic introduction in the EE article loc…
Video by: Grant
The goal of this video is to provide viewers with basic examples to understand and use nested-loops in the C programming language.
The goal of this video is to provide viewers with basic examples to understand how to create, access, and change arrays in the C programming language.
Suggested Courses

864 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