code/WPILib/DigitalModule.cpp
/**
 * Get the current state of the forward relay channel
 */
Get the current state of the forward relay channel
Get the current state of the forward relay channel
bool DigitalModule::GetRelayForward(UINT32 channel)
{
	status = 0;
	UINT8 forwardRelays = m_fpgaDIO->readSlowValue_RelayFwd(&status);
	return (forwardRelays & (1 << (channel - 1))) != 0;
}
bool DigitalModule :: GetRelayForward ( UINT32 channel ) { status = 0 ; UINT8 forwardRelays = m_fpgaDIO -> readSlowValue_RelayFwd ( & status ) ; return ( forwardRelays & ( 1 << ( channel - 1 ) ) ) != 0 ; }
Get the current state of the forward relay channel
Get the current state of the forward relay channel