Saturday, August 25, 2007

Snippet to pass all 1 to parallel port using C - outp

Snippet to pass all 1 to parallel port using C - outp

#include<stdio.h>
#include <conio.h>

void main() {
/* pass all '1' to parallel data port*/

outp( 0x0378, 0xFF );

}

No comments: