08-10-2005 05:18 AM
08-10-2005 10:59 AM
08-10-2005 12:15 PM
08-11-2005 01:51 AM
08-11-2005 10:32 AM
What OS are you using on the development machine?
What OS are you using on the target machine?
08-11-2005 10:46 AM
It occurred to me that there may be nothing wrong with your program. You have diagnosed the problem by determining whether or not the input pin 13 goes low when you ground it. Pin 13 is by default configured as an input. It's state is indeterminant when disconnected. In order to know its state, you must first force it high or low. You have forced it low in your test, but since its initial state was indeterminant, you cannot predict whether or not it should have changed. You should drive it high to see if your program will read the change.
If you attach a sample of your code, I can make a better assessment of what you may or may not be doing correctly. The following link provides a good description of the parallel port pin-out.
http://www.hamhud.net/ka9mva/regpins.html