The insides

Relay added
[imghttps://scontent-sjc.xx.fbcdn.net/hphotos-xfa1/v/t1.0-9/10277588_10152652610926861_5752335617534427298_n.jpg?oh=65fd6ebd82008164e271557ac01a1b0f&oe=557E1B78][/img]
Put back together with a connector for the pwm

Thank you Roberto for your help on the code
Code: Select all
// Low Float for RO water
if (ReefAngel.LowATO.IsActive())
{
ReefAngel.PWM.SetDaylight(0);
}
else
{
ReefAngel.PWM.SetDaylight(100);
alert=true;
}