Search found 5 matches

by reefermadness
Mon Jul 02, 2012 7:28 pm
Forum: How do I code ...
Topic: Wavemaker coding question
Replies: 18
Views: 9658

Re: Wavemaker coding question

I'll try this tomorrow. I also had to change line 5. if ( (hour() >= 21) || (hour() <= 8) ) { ReefAngel.Relay.On(Port6); ReefAngel.Relay.Off(Port5); static unsigned long nexttoggle=now(); } else { static unsigned long nexttoggle=now(); static boolean state=false; int cycle=nexttoggle-now(); ReefAnge...
by reefermadness
Mon Jul 02, 2012 5:16 pm
Forum: How do I code ...
Topic: Wavemaker coding question
Replies: 18
Views: 9658

Re: Wavemaker coding question

It doesn't appear to like that either.


RA06242012fixwave.cpp: In function 'void loop()':
RA06242012fixwave:56: error: 'nexttoggle' was not declared in this scope
RA06242012fixwave:86: error: expected `}' at end of input
by reefermadness
Sun Jul 01, 2012 7:02 pm
Forum: How do I code ...
Topic: Wavemaker coding question
Replies: 18
Views: 9658

Re: Wavemaker coding question

This code is working great. My corals really appreciate the turbulence. One small problem is that it doesn't work when my tank returns from night mode. Anybody know how I should fix my code?      if ( (hour() >= 21) || (hour() <= 8) ) {    ReefAngel . Relay . On ( Port6 );    ReefAngel . Relay . Off...
by reefermadness
Thu Jun 28, 2012 6:18 pm
Forum: How do I code ...
Topic: Wavemaker coding question
Replies: 18
Views: 9658

Re: Wavemaker coding question

Really interested in this code. Was just sitting down to see if I could figure something like this out. Does it work?
by reefermadness
Sat Apr 28, 2012 10:01 pm
Forum: Standard
Topic: PH Probe
Replies: 17
Views: 9586

Re: PH Probe

Just fixed the same problem with my setup this evening. Another way to diagnose this is to trip the float switch down and watch your pH climb almost instantly. In my case I can clearly see where the epoxy failed in less than a few months. It's possible that the switch may have been bad from the star...