Since you want to utilize the SingleATO functionality, you will need
to upgrade to the Development Libraries. Roberto has written a
wonderful application that checks your library version and upgrades
them as needed.
If you used my RAGen installer application and you left the default
settings, it should have installed the Development Libraries for you.
My question is what order did you run the installers? If you
installed RAGen first then installed the Arduino installer provided by
ReefAngel.com, then you replaced the development libraries with the
standard ones.
There are 2 solutions for you if that is the case:
1. Re-run the RAGen installer and just install right over the
existing installation. This will not affect anything at all.
2. Run the application that Roberto created that checks your code
against the latest code and allows you to switch between Standard and
Development libraries. I do not have a link for this application
currently because I'm not at my primary computer. I believe it is
listed on the forum website http://forum.reefangel.com/
Once you get your libraries switched around, you should be able to
compile the original PDE file you created. If that's not the case,
feel free to reply back providing answers to the questions mentioned
above.
Curt
--
/*
Curt Binder
http://curtbinder.info/
*/
As far as the other float switch is concerned, if you were using a
single float switch you could do that. You may want to do a if not
active, turn on the skimmer and if active turn it off. This would be
an example....it's pseudo code, so you'll have to modify it slightly.
void loop()
{
//...
// if the high switch is active, meaning the float is at the top (side
with the wires), keep
// the skimmer off (port6), otherwise if it's not, turn it on
if ( ReefAngel.HighATO.IsActive() )
{
ReefAngel.Relay.Off(Port6);
}
else
{
ReefAngel.Relay.On(Port6);
}
// ....
}
I haven't tested this since my setup is still in a box, but it's a start.
curt
On Mon, May 2, 2011 at 5:27 PM, Dav540 <dave...@gmail.com> wrote:
> Thanks. You were wright, it was my libraries that were all messed up.
> I found the library update app and it work great! Everything is loaded
> into the controller and working. The only thing I want to change now
> is to have my skimmer have a delay for in the event of a power outage
> or after water changes. Is there a example code for this or can I use
> the other float switch to delay the relay untill my water level drops
> enough in my sump?
>
> On May 1, 9:36 am, Curt Binder <curt.bin...@gmail.com> wrote:
>> From the sounds of it, you are running the Standard Libraries even
>> though you used the RAGen installer.
>>
>> Since you want to utilize the SingleATO functionality, you will need
>> to upgrade to the Development Libraries. Roberto has written a
>> wonderful application that checks your library version and upgrades
>> them as needed.
>>
>> If you used my RAGen installer application and you left the default
>> settings, it should have installed the Development Libraries for you.
>> My question is what order did you run the installers? If you
>> installed RAGen first then installed the Arduino installer provided by
>> ReefAngel.com, then you replaced the development libraries with the
>> standard ones.
>>
>> There are 2 solutions for you if that is the case:
>> 1. Re-run the RAGen installer and just install right over the
>> existing installation. This will not affect anything at all.
>> 2. Run the application that Roberto created that checks your code
>> against the latest code and allows you to switch between Standard and
>> Development libraries. I do not have a link for this application
>> currently because I'm not at my primary computer. I believe it is
>> listed on the forum websitehttp://forum.reefangel.com/
>>
>> Once you get your libraries switched around, you should be able to
>> compile the original PDE file you created. If that's not the case,
>> feel free to reply back providing answers to the questions mentioned
>> above.
>>
>> Curt
>>