|
|
|
|||||||||||||||||
|
|
|
|
|
|||||||||||||||
|
|
Links: Last Updated on: 02.12.2005 |
|||||||||||||||||
|
|
|
|||||||||||||||||
|
|
||||||||||||||||||
|
|
Nusrettin GULEC Ph.D. Candidate & Research Assistant Sabanci University Mechatronics Program
|
Parallel
Port from C++ In C++, the
following code declares and writes a specifed value to the parallel port's
data register. Note that you should first activate your parallel port to use
this code, if your operating system is Windows XP. The value of the variable parout can be changed by any
control algorithm between lines 2 and 3. int _outp(unsigned short port, int
databyte); int parout=0; _outp(0x378,parout); |
||||||||||||||||
|
|
|
|
|
|
||||||||||||||