code/WPILib/DigitalOutput.cpp
/**
 * Create an instance of a DigitalOutput.
 * Creates a digital output given a slot and channel. Common creation routine
 * for all constructors.
 */
Create an instance of a DigitalOutput.
Creates a digital output given a slot and channel. Common creation routine
for all constructors.
Create an instance of a DigitalOutput . Creates a digital output given a slot and channel . Common creation routine for all constructors .
void DigitalOutput::InitDigitalOutput(UINT32 slot, UINT32 channel)
{
	m_channel = channel;
	m_pwmGenerator = ~0ul;
	m_module = DigitalModule::GetInstance(slot);
	m_module->AllocateDIO(m_channel, false);
}
void DigitalOutput :: InitDigitalOutput ( UINT32 slot , UINT32 channel ) { m_channel = channel ; m_pwmGenerator = ~ 0ul ; m_module = DigitalModule :: GetInstance ( slot ) ; m_module -> AllocateDIO ( m_channel , false ) ; }
Create an instance of a DigitalOutput.
Create an instance of a DigitalOutput .