code/WPILib/DigitalOutput.cpp
/**
 * Change this line from a PWM output back to a static Digital Output line.
 * 
 * Free up one of the 4 DO PWM generator resources that were in use.
 */
Change this line from a PWM output back to a static Digital Output line.

Free up one of the 4 DO PWM generator resources that were in use.
Change this line from a PWM output back to a static Digital Output line . Free up one of the 4 DO PWM generator resources that were in use .
void DigitalOutput::DisablePWM()
{
	m_module->SetDO_PWMOutputChannel(m_pwmGenerator, kDigitalChannels);
	m_module->FreeDO_PWM(m_pwmGenerator);
	m_pwmGenerator = ~0ul;
}
void DigitalOutput :: DisablePWM ( ) { m_module -> SetDO_PWMOutputChannel ( m_pwmGenerator , kDigitalChannels ) ; m_module -> FreeDO_PWM ( m_pwmGenerator ) ; m_pwmGenerator = ~ 0ul ; }
Change this line from a PWM output back to a static Digital Output line.
Change this line from a PWM output back to a static Digital Output line .
// Disable the output by routing to a dead bit.