code/WPILib/Counter.cpp
/**
 * Create an instance of a counter from a Digital Input.
 * This is used if an existing digital input is to be shared by multiple other objects such
 * as encoders.
 */
Create an instance of a counter from a Digital Input.
This is used if an existing digital input is to be shared by multiple other objects such
as encoders.
Create an instance of a counter from a Digital Input . This is used if an existing digital input is to be shared by multiple other objects such as encoders .
Counter::Counter(DigitalSource *source)
{
	InitCounter();
	SetUpSource(source);
	ClearDownSource();
}
Counter :: Counter ( DigitalSource * source ) { InitCounter ( ) ; SetUpSource ( source ) ; ClearDownSource ( ) ; }
Create an instance of a counter from a Digital Input.
Create an instance of a counter from a Digital Input .