code/WPILib/GearTooth.cpp
/**
 * Construct a GearTooth sensor given a digital input.
 * This should be used when sharing digial inputs.
 * 
 * @param source An object that fully descibes the input that the sensor is connected to.
 * @param directionSensitive Enable the pulse length decoding in hardware to specify count direction.
 */
Construct a GearTooth sensor given a digital input.
This should be used when sharing digial inputs.

@param source An object that fully descibes the input that the sensor is connected to.
@param directionSensitive Enable the pulse length decoding in hardware to specify count direction.
Construct a GearTooth sensor given a digital input . This should be used when sharing digial inputs . @param source An object that fully descibes the input that the sensor is connected to . @param directionSensitive Enable the pulse length decoding in hardware to specify count direction .
GearTooth::GearTooth(DigitalSource *source, bool directionSensitive)
	: Counter(source)
{
	EnableDirectionSensing(directionSensitive);
}
GearTooth :: GearTooth ( DigitalSource * source , bool directionSensitive ) : Counter ( source ) { EnableDirectionSensing ( directionSensitive ) ; }
Construct a GearTooth sensor given a digital input.
Construct a GearTooth sensor given a digital input .