| Modifier and Type | Field and Description |
|---|---|
protected boolean |
m_Set
Field for the digital in state.
|
| Constructor and Description |
|---|
SimpleDigitalIn()
Constructs a new SimpleDigitalIn instance.
|
SimpleDigitalIn(boolean b)
Constructs a new SimpleDigitalIn instance
with a given valid state.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isSet()
Tests if this DigitalIn is set.
|
void |
set(boolean b)
Sets the state of this SimpleDigitalIn.
|
public SimpleDigitalIn()
public SimpleDigitalIn(boolean b)
b - true if to be set, false otherwise.public boolean isSet()
DigitalInpublic void set(boolean b)
b - true if to be set, false otherwise.Copyright © 2017. All rights reserved.