Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| " 2013 FRC Java API "
PREV NEXT | FRAMES NO FRAMES

## Uses of Class
edu.wpi.first.wpilibj.DigitalSource

Packages that use DigitalSource
edu.wpi.first.wpilibj | The WPI Robotics library (WPILibJ) is a set of Java classes that interfaces to the hardware in the FRC control system and your robot.

Uses of DigitalSource in edu.wpi.first.wpilibj

Subclasses of DigitalSource in edu.wpi.first.wpilibj
`class` | `AnalogTriggerOutput` Class to represent a specific output from an analog trigger.
`class` | `DigitalInput` Class to read a digital input.
`class` | `DigitalOutput` Class to write digital outputs.

Fields in edu.wpi.first.wpilibj declared as DigitalSource
`protected DigitalSource` | `Encoder.m_aSource` The a source
`protected DigitalSource` | `Encoder.m_bSource` The b source
`protected DigitalSource` | `Encoder.m_indexSource` The index source

Methods in edu.wpi.first.wpilibj with parameters of type DigitalSource
`void` | `Counter.setDownSource(DigitalSource source)` Set the source object that causes the counter to count down.
`void` | `Counter.setUpSource(DigitalSource source)` Set the source object that causes the counter to count up.

Constructors in edu.wpi.first.wpilibj with parameters of type DigitalSource
`Counter(CounterBase.EncodingType encodingType, DigitalSource upSource, DigitalSource downSource, boolean inverted)` Create an instance of a Counter object.
`Counter(DigitalSource source)` Create an instance of a counter from a Digital Input.
`Encoder(DigitalSource aSource, DigitalSource bSource)` Encoder constructor.
`Encoder(DigitalSource aSource, DigitalSource bSource, boolean reverseDirection)` Encoder constructor.
`Encoder(DigitalSource aSource, DigitalSource bSource, boolean reverseDirection, CounterBase.EncodingType encodingType)` Encoder constructor.
`Encoder(DigitalSource aSource, DigitalSource bSource, DigitalSource indexSource)` Encoder constructor.
`Encoder(DigitalSource aSource, DigitalSource bSource, DigitalSource indexSource, boolean reverseDirection)` Encoder constructor.
`GearTooth(DigitalSource source)` Construct a GearTooth sensor given a digital input.
`GearTooth(DigitalSource source, boolean directionSensitive)` Construct a GearTooth sensor given a digital input.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| " 2013 FRC Java API "
PREV NEXT | FRAMES NO FRAMES

"
For updated information see the Java FRC site
"