Hello Reefangel team,
Need some help here, code below is just a snippet from web wizard, but looks like the below "if" statement are not taken affect, purpose of the below statement is hoping to control port 7 and 8 per port1 scheduled conditions.
void loop()
{
ReefAngel.StandardLights( Port1,15,5,15,15 );
// purpose of the below statement is hoping to control port 7 and 8 per port1 condition.
if ( ReefAngel.Relay.Status( Port1 ) ) ReefAngel.Relay.Off( Port7 );
if ( ReefAngel.Relay.Status( Port1 ) ) ReefAngel.Relay.Off( Port8 );
if ( ReefAngel.Relay.Status( Port1 ) ) ReefAngel.Relay.On( Port8 );
if ( ReefAngel.Relay.Status( Port1 ) ) ReefAngel.Relay.On( Port7 );
////// Place your custom code below here
////// Place your custom code above here
ReefAngel.Portal( "a........o" );
// This should always be the last line
ReefAngel.ShowInterface();
}
if statement not taken affect per port scheduled conditions?
3 posts
• Page 1 of 1
|
|
You are asking to turn on and turn off right after. Same here:
I think what you are trying to achieve is this:
Roberto.
|
|
Many thanks for your continued support Roberto!
|
|
3 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 2 guests