code/WPILib/SolenoidBase.cpp
/**
 * Read all 8 solenoids as a single byte
 * 
 * @return The current value of all 8 solenoids on the module.
 */
Read all 8 solenoids as a single byte

@return The current value of all 8 solenoids on the module.
Read all 8 solenoids as a single byte @return The current value of all 8 solenoids on the module .
UINT8 SolenoidBase::GetAll()
{
	if (CheckSolenoidModule(m_chassisSlot))
	{
		return m_fpgaSolenoidModule->readDO7_0(SlotToIndex(m_chassisSlot), &status);
	}
	return 0;
}
UINT8 SolenoidBase :: GetAll ( ) { if ( CheckSolenoidModule ( m_chassisSlot ) ) { return m_fpgaSolenoidModule -> readDO7_0 ( SlotToIndex ( m_chassisSlot ) , & status ) ; } return 0 ; }
Read all 8 solenoids as a single byte
Read all 8 solenoids as a single byte