01-22-2007 05:29 AM
01-22-2007 07:58 AM
Hello,
If i've correctly understand what you want, you only want to read a sigle bit from the parallel port. Well, if you simply wanna do that... you don't have to do anything to the example. He's already doing that. If the "write update" it's "true" reads and write's the parallel port. If "false", it only reads the current value.
You should remove the while loop so that you only read the parallel port once.
Best regards,
Jorge Amaral