LPT ports in C# -
LPT ports in C# -
i'd send instructions while 1 of pins of lpt port on.
i trying this:
when lpt port 379 (889 dec) different dec 120 stop doing part of code.
while ((portaccess.output(889,120))
i don't know how it. trying construction:
while ((portaccess.equals())
but need compare 2 objects..
i suppose must simple solution problem.. :)
i think need portaccess.input:
while (portaccess.input(889) == 120) { // stuff }
this assumes "portaccess" wrapper around native inpout32.dll such described in this tutorial.
c# lpt
Comments
Post a Comment