How to set feed mode time?

Do you have a question on how to do something.
Ask in here.
User avatar
Posts: 2748
Joined: Fri Mar 18, 2011 6:20 pm
Location: Illinois
PostPosted: Wed Feb 28, 2018 7:21 pm
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;

Posts: 69
Joined: Sun Oct 27, 2013 11:35 am
PostPosted: Thu Mar 01, 2018 1:46 am
Thank you. I will try this :D
Previous

Return to How do I code ...

Who is online

Users browsing this forum: No registered users and 6 guests