lunar hub is too bright
lunar hub is too bright
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
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.
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
thanks for the reply lee. i will try this where do i add the new map function?
Re: lunar hub is too bright
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
Will the lunar dimmable module ramp down to 0%? It was at 4% last night. Today there is no light at all.