This is actually what I'm looking for I believe although I'm not 100% sure(still reading the various threads). I used the arduino wizard to finally get the two RW 4's I have running and the code is below. However, when I try and add in the tide code I am running into some compile issues. One issue I think I saw is that my code is referencing DaylightChannel and ActinicChannel. The code above is using ActinicChannel and StandardChannel. I swapped to match what I have running still no luck. Also when it says =None I would probably want to change that to be Sync and AntiSync so they are both running. Let the night mode slow them down?

All I should have to do is load in the Tide.h header to access the functions or is there something else that I'm not understanding yet? The compile error is below so I'm sure it is something I'm not doing correctly.

lnevo wrote:Your error is coming from somewhere else. It's a syntax error. Whats the tide code your trying to add? Post your before and after code in full.

Yeah, it is a compile or type-o on my part for sure. I removed it and added a if statement to slow them down after lights out. That appeared to work ok. At this point and time it is more of a learning / reading threads to understand how the libraries work that I want to use. I see the tidal simulation and also found the weather pattern based on location. Both of which sound super cool but not sure how to implement

Also am trying to understand what the various power head modes do. I have reef crest implemented now and saw a graph somewhere, not sure where now, but it looked cool. Not sure how the sync anti-sync work though. My original post was to make them alternate so they don't always go the same direction - thus tide/high/low. Does the library automatically sync-anti-sync or change directions based on a set time?

Anyway - they are working now and slow down at night. That was the first hurdle. Now it is just playing and learning. Like why Daylight is 41% vs. Actinic at 69% (they change all the time) but I have power set to 55%? Even if it is plus 10, I am over and seen it higher.

void loop(){ ReefAngel.StandardLights( Port2,9,0,21,0 ); // power to LED power supply ReefAngel.StandardLights( Port4,9,0,21,0 ); // LED fans// ReefAngel.WavemakerRandom( Port5,5,90 ); // Not sure what these are for now// ReefAngel.WavemakerRandom( Port6,5,90 ); // Not sure what these are for now// ReefAngel.StandardLights( Port7,9,0,21,0 );// ReefAngel.StandardLights( Port8,9,0,21,0 );

// This should always be the last line ReefAngel.Portal( "saf1" ); ReefAngel.DDNS( "saf1-dns.myreefangel.com" ); // Your DDNS is saf1-saf1-dns.myreefangel.com.myreefangel.com ReefAngel.ShowInterface();}