edu.wpi.first.wpilibj
Class DigitalSource
java.lang.Object
   edu.wpi.first.wpilibj.SensorBase
edu.wpi.first.wpilibj.SensorBase
       edu.wpi.first.wpilibj.InterruptableSensorBase
edu.wpi.first.wpilibj.InterruptableSensorBase
           edu.wpi.first.wpilibj.DigitalSource
edu.wpi.first.wpilibj.DigitalSource
- Direct Known Subclasses: 
- AnalogTriggerOutput, DigitalInput, DigitalOutput
- public abstract class DigitalSource 
- extends InterruptableSensorBase
DigitalSource Interface.
 The DigitalSource represents all the possible inputs for a counter or a quadrature encoder. The source may be
 either a digital input or an analog input. If the caller just provides a channel, then a digital input will be
 constructed and freed when finished for the source. The source can either be a digital input or analog trigger
 but not both.
 
 
 
 
 
 
| Methods inherited from class edu.wpi.first.wpilibj.SensorBase | 
| checkAnalogChannel, checkAnalogModule, checkDigitalChannel, checkDigitalModule, checkPWMChannel, checkPWMModule, checkRelayChannel, checkRelayModule, checkSolenoidChannel, checkSolenoidModule, free, getDefaultAnalogModule, getDefaultDigitalModule, getDefaultSolenoidModule, setDefaultAnalogModule, setDefaultDigitalModule, setDefaultSolenoidModule | 
 
 
DigitalSource
public DigitalSource()
getChannelForRouting
public abstract int getChannelForRouting()
- Get the channel routing number
 
- 
- Returns:
- channel routing number
 
getModuleForRouting
public abstract int getModuleForRouting()
- Get the module routing number
 
- 
- Returns:
- module routing number
 
getAnalogTriggerForRouting
public abstract boolean getAnalogTriggerForRouting()
- Is this an analog trigger
 
- 
- Returns:
- true if this is an analog trigger
 
"For updated information see the Java FRC site"