Search found 9 matches

by westonhull
Sat Nov 22, 2014 5:03 am
Forum: Addons
Topic: PH, Water, ORP Modules for sale
Replies: 5
Views: 4379

Re: PH, Water, ORP Modules for sale

Would you be interested to sell the PH and ORP for 100 shipped?
by westonhull
Wed Nov 19, 2014 11:50 am
Forum: How do I code ...
Topic: ATO Timeout question
Replies: 16
Views: 13254

Re: ATO Timeout question

Hello, Well that worked! You are way better at this than I am. Where did you learn this language from? Do you have any books for dummy's for this stuff, if so I need them to get them? Anyways, Here is the final code. Thanks for helping me! #include <ReefAngel_Features.h> #include <Globals.h> #includ...
by westonhull
Wed Nov 19, 2014 9:40 am
Forum: How do I code ...
Topic: ATO Timeout question
Replies: 16
Views: 13254

Re: ATO Timeout question

Sorry thought I did... Here is the current code. #include <ReefAngel_Features.h> #include <Globals.h> #include <RA_Wifi.h> #include <Wire.h> #include <OneWire.h> #include <Time.h> #include <DS1307RTC.h> #include <InternalEEPROM.h> #include <RA_NokiaLCD.h> #include <RA_ATO.h> #include <RA_Joystick.h>...
by westonhull
Wed Nov 19, 2014 8:54 am
Forum: How do I code ...
Topic: ATO Timeout question
Replies: 16
Views: 13254

Re: ATO Timeout question

Hello, First I want to thank you for sticking through this with me. Well I swapped around the lines and changed the highfloatflag. So the outlet is correct when it goes high it does shut off but the buzzer goes to 100% when the switch is low and goes to 0% on High. :evil: Not to sure what's the deal...
by westonhull
Tue Nov 18, 2014 5:11 pm
Forum: How do I code ...
Topic: ATO Timeout question
Replies: 16
Views: 13254

Re: ATO Timeout question

Hello, Ok, So I tried this; ReefAngel.Relay.Set(Port2, !highfloatflag); highfloatflag = ReefAngel.HighATO.IsActive(); if ( highfloatflag > 0 ) buzzer=100; else buzzer=0; ReefAngel.PWM.SetDaylight( buzzer ); What happened was it was 0% on High and 100% on Low I tried if ( highfloatflag < 0 ) buzzer=1...
by westonhull
Tue Nov 18, 2014 11:06 am
Forum: How do I code ...
Topic: ATO Timeout question
Replies: 16
Views: 13254

Re: ATO Timeout question

Hello, Ok well that kinda worked... if ( buzzer >= 1 ) buzzer = 100; Original code if ( buzzer != 1 ) buzzer = 100; 100% volume on high but 1% on Low if ( buzzer > 1 ) buzzer = 100; 0% on High but 1% on Low if ( buzzer < 1 ) buzzer = 100; 100% on High but 1% on Low if ( buzzer < 0 ) buzzer = 100; 0 ...
by westonhull
Mon Nov 17, 2014 4:37 pm
Forum: How do I code ...
Topic: ATO Timeout question
Replies: 16
Views: 13254

Re: ATO Timeout question

Hello, Thanks for the reply! Ok, so I tried with the (!) but it didn't work. So I removed the (!) and it works for the switch but the buzzer keeps buzzing. ReefAngel.Relay.Set(Port2, highfloatflag); I tried to change the > to a < thinking it was like PLC's 1 and 0's but I guess that wasn't the case....
by westonhull
Mon Nov 17, 2014 10:01 am
Forum: How do I code ...
Topic: ATO Timeout question
Replies: 16
Views: 13254

Re: ATO Timeout question

Hello,
And thanks for the reply. I just wanted to verify..
So you are saying remove the

Code: Select all

ReefAngel.SingleATO( true,Port2,60,0 );
And insert;

Code: Select all

ReefAngel.Relay.Set(Port2, !highfloatflag);
And if it doens't work as I would expect remove the ! point before the highfloatflag?

Thanks!
Wes
by westonhull
Mon Nov 17, 2014 7:40 am
Forum: How do I code ...
Topic: ATO Timeout question
Replies: 16
Views: 13254

ATO Timeout question

Hello, I am using the ATO switch as flood protection for external equipment. In theory, When there is a leak it will fill up tank that is holding equipment. When the level switch is made (float on bottom/wire on top) it shuts off the outlet. However, the way this code is wrote after 60 seconds it ti...