code/WPILib/DigitalModule.cpp
/**
 * Get a value from a PWM channel. The values range from 0 to 255.
 * 
 * @param channel The PWM channel to read from.
 * @return The raw PWM value.
 */
Get a value from a PWM channel. The values range from 0 to 255.

@param channel The PWM channel to read from.
@return The raw PWM value.
Get a value from a PWM channel . The values range from 0 to 255 . @param channel The PWM channel to read from . @return The raw PWM value .
UINT8 DigitalModule::GetPWM(UINT32 channel)
{
	CheckPWMChannel(channel);
	return m_fpgaDIO->readPWMValue(channel - 1, &status);
}
UINT8 DigitalModule :: GetPWM ( UINT32 channel ) { CheckPWMChannel ( channel ) ; return m_fpgaDIO -> readPWMValue ( channel - 1 , & status ) ; }
Get a value from a PWM channel.
Get a value from a PWM channel .