code/WPILib/DriverStation.cpp
/**
 * Get a value that was set for the digital outputs on the Driver Station.
 * @param channel The digital ouput to monitor. Valid range is 1 through 8.
 * @return A digital value being output on the Drivers Station.
 */
Get a value that was set for the digital outputs on the Driver Station.
@param channel The digital ouput to monitor. Valid range is 1 through 8.
@return A digital value being output on the Drivers Station.
Get a value that was set for the digital outputs on the Driver Station . @param channel The digital ouput to monitor . Valid range is 1 through 8 . @return A digital value being output on the Drivers Station .
bool DriverStation::GetDigitalOut(UINT32 channel) 
{
	wpi_assert ((channel >= 1) && (channel <= 8));
	return ((m_digitalOut >> (channel-1)) & 0x1) ? true : false;;
}
bool DriverStation :: GetDigitalOut ( UINT32 channel ) { wpi_assert ( ( channel >= 1 ) && ( channel <= 8 ) ) ; return ( ( m_digitalOut >> ( channel - 1 ) ) & 0x1 ) ? true : false ; ; }
Get a value that was set for the digital outputs on the Driver Station.
Get a value that was set for the digital outputs on the Driver Station .