Water level expansion coding

Do you have a question on how to do something.
Ask in here.
Post Reply
Ciwyn
Posts: 24
Joined: Tue May 21, 2013 6:18 pm

Re: Water level expansion coding

Post by Ciwyn »

Yes that is actually what I wanted it to do. Currently I have to quit water change mode manually and usually I have to reset my ATO timeout as well. I would like to find a way for it to quit WC mode automatically after the water change.
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Water level expansion coding

Post by rimai »

Change the 3rd stage to quit the mode to this:

Code: Select all

  if (ReefAngel.WaterLevel.GetLevel()>=43 && WC_status==2)
  {
    ReefAngel.Relay.Off(Port2);
    ButtonPress++;
    WC_status=3;
  }
Roberto.
Post Reply