Connecting Tech Pros Worldwide Forums | Help | Site Map

parallel port programing in C/C++ (Linux platform)

Newbie
 
Join Date: Oct 2006
Posts: 2
#1: Oct 15 '06
hello.
i need to get a few infos about parallel port programming in C/C++ until tomorrow morning. i'll be having a laboratory that i'll miss during the explanations related to this and i'll catch only the practical aspect,that will be beyond my understanding.

one of the problems is creating a code that will control 4 LED to light in a certain order/configuration.

if i am using 3 ports, one allowing 8 signals ...
how do i write the code?

i am trying to understand the principle.
i might be asking a lot for one night, for a first contact with sush a thing ...
i need an example.

thanks [in advance]

Familiar Sight
 
Join Date: Sep 2006
Posts: 144
#2: Oct 16 '06

re: parallel port programing in C/C++ (Linux platform)


Never done any parallel port programming myself, but the following would probably be a good starting place to look.

Linux I/O Port Programming Mini-Howto
Familiar Sight
 
Join Date: Sep 2006
Posts: 144
#3: Oct 16 '06

re: parallel port programing in C/C++ (Linux platform)


This parallel port programming library for Linux may also be of use.

PARAPIN
Reply