|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object maslab.orc.DigitalInput
public class DigitalInput
Orc wrapper for Digital inputs (using built-in pull-ups.)
Constructor Summary | |
---|---|
DigitalInput(Orc orc,
int port,
boolean inverted)
Create a new DigitalInput. |
Method Summary | |
---|---|
boolean |
read()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DigitalInput(Orc orc, int port, boolean inverted)
inverted
- If true, the digital value is inverted before it is returned.Method Detail |
---|
public boolean read()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |