Hello?.all,
I am trying to read parallel port, all the pins from 1-17. I am using libs Parapin
Can some one agree with me that; it is possible to use all the pins on parallel port as an input pins 1-17????
I can able to read all the pins except 1, 11, 14, and 17
Any idea what can be the problem????
I tried using parapin input test program, but no luck.
So I just want to conform about reading all the pins on parallel port ??..
#include #include #include
#include "parapin.h"
int main(int argc, char *argv[]) { int i;
if (pin_init_user(LPT1) < 0) exit(0);
pin_input_mode(LP_DATA_PINS); pin_input_mode(LP_SWITCHABLE_PINS);
printf("\nstarting\n"); for (i = 1; i