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