Does anyone know how I can fetch a trigger/break signal via the
serial-port?
I have a circuit that connects two pins on the serial-port when the
sensor is activated (when a person stands infront of the photocell).
How can I get this to interact with my Java code? Or is there a better
alternative then the com-port?
I want a piece of code to run while the cercuit is connected, and to
stop when the person leaves the photocell.
Please help! It's pretty urgent. Should have posted this way earlier.
I've understood that I should use javax.comm, but unfortunaly I don't
know how/what to do with it.
serial-port?
I have a circuit that connects two pins on the serial-port when the
sensor is activated (when a person stands infront of the photocell).
How can I get this to interact with my Java code? Or is there a better
alternative then the com-port?
I want a piece of code to run while the cercuit is connected, and to
stop when the person leaves the photocell.
Please help! It's pretty urgent. Should have posted this way earlier.
I've understood that I should use javax.comm, but unfortunaly I don't
know how/what to do with it.
Comment