Page 1 of 1

Android & LED

Posted: Tue May 08, 2012 4:21 am
by Govertical19
The following is my code for my leds

void loop()
{
// Specific functions
ReefAngel.DosingPump2(Port1);
ReefAngel.DosingPump1(Port2);
ReefAngel.MHLights(Port5);
ReefAngel.MHLights(Port6);
ReefAngel.StandardHeater(Port7);
ReefAngel.Portal("Govertical19");

ReefAngel.PWM.SetActinic(PWMSlope(11,0,23,0,15,90,200,0));
ReefAngel.PWM.SetDaylight(PWMSlope(12,0,22,0,15,40,200,0));

ReefAngel.ShowInterface();

I tried to change my lighting with my phone and it would not let me. Is this because the above code has a higher priority or should it have worked?

BTW all I tried to do was turn the day lights off.

Re: Android & LED

Posted: Tue May 08, 2012 7:26 am
by rimai
What did you want to do?
Change the slope % or turn the Port 5 and 6 off?

Re: Android & LED

Posted: Tue May 08, 2012 12:58 pm
by binder
The LEDs are hardcoded with the times and percentages. So the times will not be able to be changed.