Parallel port communication in c.
i am using turbo c++ compiler. and try to blink a led connected on LPT1 port. but this is not working.
I need some help related to parrallel port communication in c++.
LED is connected at 2 and ground pin of LPT1.
#define PORT 0x378
outportb(PORT, ~inportb(PORT) );