public class DigitalInput extends DigitalIO implements Trigger, BooleanSource
DigitalIO.DigitalChannel, DigitalIO.DirectionInterface.InterfaceTypeTrigger.ButtonSchedulerm_channel, m_direction, m_portm_interrupt, m_interruptIndex, m_isSyncInterruptm_ifaceType, MAX_ANALOG_IN_CHANNELS, MAX_ANALOG_OUT_CHANNELS, MAX_DIGITAL_CHANNELS, MAX_PWM_CHANNELS, MAX_RELAY_CHANNELS| Constructor and Description |
|---|
DigitalInput(DigitalIO.DigitalChannel channel) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getState()
Get the value of this boolean source
|
free, getChannel, getChannelName, getChannelNumber, getModuleNumber, isAnalogTriggerallocateInterrupt, cancelInterrupt, disableInterrupts, enableInterrupts, readFallingTimestamp, readRisingTimestamp, requestInterrupt, requestInterrupt, setUpSourceEdge, validateInterrupt, waitForInterrupt, waitForInterruptallocateMXPPin, checkAnalogInputChannel, checkAnalogOutputChannel, checkDigitalChannel, checkPWMChannel, checkRelayChannel, freeMXPPin, getInterfaceTypeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcancelWhenActive, runWhenActive, runWhenInactive, runWhileActive, runWhileInactive, toggleWhenActivepublic DigitalInput(DigitalIO.DigitalChannel channel)
public boolean getState()
getState in interface BooleanSource