Page 1 of 1

completely lost and now RA wont work at all

Posted: Wed Jun 27, 2012 5:08 pm
by enviro-1
ok, I have been trying to get the preloaded code back on my RA. I am completely lost. Tank is completely off, no power to anything. When I try to upload the preloaded code from arduino I get this: Reefangle was not declared in this scope: reefAngel.Init(); // Initialize Controller.

Re: completely lost and now RA wont work at all

Posted: Wed Jun 27, 2012 5:13 pm
by rimai
I suggest you uninstall the Reef Angel Installer, delete the folder Documents\Arduino, download the latest installer and start over again.
If you are getting compile errors, either you changed the code or you have old/mismatched libraries.

Re: completely lost and now RA wont work at all

Posted: Wed Jun 27, 2012 5:55 pm
by enviro-1
Ok. I got it back up and running again. Thanks. Now my lights don't seem as bright as they did before, and every time I open arduino I see them get bright then dimmer. Any idea what would cause this? I have an LED fixture.

Re: completely lost and now RA wont work at all

Posted: Wed Jun 27, 2012 6:00 pm
by enviro-1
Actually, when I choose "light's off" they just get dim, then when I choose "lights on" they get bright.

Re: completely lost and now RA wont work at all

Posted: Wed Jun 27, 2012 6:17 pm
by enviro-1
I think I have it figured out for now. Thanks for the help, I am just a little overwhelmed with this thing still. I'm not giving up though!

Re: completely lost and now RA wont work at all

Posted: Wed Jun 27, 2012 6:21 pm
by rimai
That's because they are within the daylight cycle.
You need to change the times for your light schedule and the % also.
The new code also uses parabola instead of the slope.
Parabola simulates the sun better than the slope though.

Re: completely lost and now RA wont work at all

Posted: Wed Jun 27, 2012 6:26 pm
by enviro-1
Oh, sweet, the % settings represent what concerning the parabola? I have my actinics set at 100 and my daylights at 80. How will this react when the lights go off or come on?

Re: completely lost and now RA wont work at all

Posted: Wed Jun 27, 2012 6:29 pm
by rimai
It always starts a 0% and will follow the parabola up to whatever % you chose within the timeframe of your light schedule and then back down the same way.