How can I check the status of a port and then change the status of another port depending on it?
Example:
Check Port 8 (to see if its ON or OFF)
if OFF turn off Port 7.
I tried something like this but it didn't compile (because im not a real coder

if (ReefAngel.Relay.status(Port8) = Off)
{
ReefAngel.Relay.Off(Port7);
}
Thanks.
Jeremiah