code/WPILib/Counter.cpp
/**
 * Set the down counting source to be an analog trigger.
 * @param analogTrigger The analog trigger object that is used for the Down Source
 * @param triggerType The analog trigger output that will trigger the counter.
 */
Set the down counting source to be an analog trigger.
@param analogTrigger The analog trigger object that is used for the Down Source
@param triggerType The analog trigger output that will trigger the counter.
Set the down counting source to be an analog trigger . @param analogTrigger The analog trigger object that is used for the Down Source @param triggerType The analog trigger output that will trigger the counter .
void Counter::SetDownSource(AnalogTrigger *analogTrigger, AnalogTriggerOutput::Type triggerType)
{
	SetDownSource(analogTrigger->CreateOutput(triggerType));
	m_allocatedDownSource = true;
}
void Counter :: SetDownSource ( AnalogTrigger * analogTrigger , AnalogTriggerOutput :: Type triggerType ) { SetDownSource ( analogTrigger -> CreateOutput ( triggerType ) ) ; m_allocatedDownSource = true ; }
Set the down counting source to be an analog trigger.
Set the down counting source to be an analog trigger .