code/WPILib/GearTooth.cpp
/**
 * Construct a GearTooth sensor given a channel.
 * 
 * The default module is assumed.
 * 
 * @param channel The GPIO channel on the digital module 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 channel.

The default module is assumed.

@param channel The GPIO channel on the digital module 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 channel . The default module is assumed . @param channel The GPIO channel on the digital module that the sensor is connected to . @param directionSensitive Enable the pulse length decoding in hardware to specify count direction .
GearTooth::GearTooth(UINT32 channel, bool directionSensitive)
	: Counter(channel)
{
	EnableDirectionSensing(directionSensitive);
}
GearTooth :: GearTooth ( UINT32 channel , bool directionSensitive ) : Counter ( channel ) { EnableDirectionSensing ( directionSensitive ) ; }
Construct a GearTooth sensor given a channel.
Construct a GearTooth sensor given a channel .