How to set feed mode time?

Do you have a question on how to do something.
Ask in here.
Post Reply
binder
Posts: 2871
Joined: Fri Mar 18, 2011 6:20 pm
Location: Illinois
Contact:

Re: How to set feed mode time?

Post by binder »

anderzon_ wrote:Planing to use this code but wonder if its possible to do this twice a day with differnt times? And if it is possible to just slow down the pumps that are controlled by the dimming ports? For example during feeding the pumps just work on 20% for 15 minutes?
Yep, certainly can. Just duplicate the code and change the time it checks for.

As for the pumps being turned down to a different speed (other than 0), that is simple to do. If you are using the DCPump class and have the pumps controlled via the PWM channels, you will just need to add this line to the setup (it probably already exists or something like it):

Code: Select all

// Set pump speed during feeding mode
ReefAngel.DCPump.FeedingSpeed = 20;
anderzon_
Posts: 69
Joined: Sun Oct 27, 2013 11:35 am

Re: How to set feed mode time?

Post by anderzon_ »

Thank you. I will try this :D
Post Reply