Hello,
I am trying to reach LPT. I wrote a simple code...
#include <stdio.h>
#include <conio.h>
#include <stdlib.h>
#include <dos.h>
#define CS 1
#define LPT 0x378
char port_data;
int main()
{
while(1)
{
outp(LPT, 0x01);
}
return 0;
}
and it doesn't work with the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.