Page 1 of 1
lunar hub is too bright
Posted: Wed Dec 18, 2013 1:43 pm
by Paulweck
i have the lunar hub hooked up to my 90 gallon running on moon phase. im trying to turn down the intensity it about 75%. last might the moon phase was at 96% and it was way to bright for my liking. how can i turn them down?
Re: lunar hub is too bright
Posted: Wed Dec 18, 2013 2:17 pm
by lnevo
You could use the map command to set your own range.
So if you wanted 0-100% to be 0-75% instead you could do this..
int mp=map(MoonPhase(),0,100,0,75);
Then you can use the variable mp to set your channels to what you want.
ReefAngel.PWM.SetDaylight(mp);
I'm not sure the ports to use on the lunar hub

So you can translate your code accordingly.
Re: lunar hub is too bright
Posted: Wed Dec 18, 2013 9:14 pm
by Paulweck
thanks for the reply lee. i will try this where do i add the new map function?
Re: lunar hub is too bright
Posted: Thu Dec 19, 2013 5:14 am
by lnevo
Before you set the lunar hub and you'll need to change the argument where you set the lunar hub %
Re: lunar hub is too bright
Posted: Tue Dec 31, 2013 10:47 am
by davaraj
Will the lunar dimmable module ramp down to 0%? It was at 4% last night. Today there is no light at all.
Re: lunar hub is too bright
Posted: Tue Dec 31, 2013 11:43 am
by rimai
It's new moon
