Quote:
Originally Posted by akavoor13
We are trying to use a magnetic reed sensor with our pneumatic system. I know the sensor gets connected to digital I/O. In Java, once I define a variable of type "DigitalInput," what do I do with it? i.e., how do I use the information I get from the digital I/O? Many thanks!
|
DigitalInput.get(); returns a boolean corresponding to the input.