Android & LED

Do you have a question on how to do something.
Ask in here.
Post Reply
Govertical19
Posts: 27
Joined: Wed Feb 15, 2012 6:52 am

Android & LED

Post 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.
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: Android & LED

Post by rimai »

What did you want to do?
Change the slope % or turn the Port 5 and 6 off?
Roberto.
binder
Posts: 2865
Joined: Fri Mar 18, 2011 6:20 pm
Location: Illinois
Contact:

Re: Android & LED

Post by binder »

The LEDs are hardcoded with the times and percentages. So the times will not be able to be changed.
Post Reply