1) Change you change the behavior to something else besides 15 minutes?
2) How to detect if when in and out of feed mode in
void loop()
{
// How to detect when enter feed mode
// How to detect when exit feed mode
}
Change Length of time when Feedmode
Re: Change Length of time when Feedmode
Do you have the Android app?
You can change the length of the feed mode by going into the Memory Pages and in the drop down box find "Feeding Mode Time" and then enter in the value in seconds and write the value.
You can do it through a web browser too, but I forgot the command.
You can change the length of the feed mode by going into the Memory Pages and in the drop down box find "Feeding Mode Time" and then enter in the value in seconds and write the value.
You can do it through a web browser too, but I forgot the command.
Re: Change Length of time when Feedmode
Thanks - I was looking for a way to do it with code. But will try this. Will this new timer be used even after a power loss?
Re: Change Length of time when Feedmode
Yes.
I don't think it can be done with code since it's an internal memory setting.
I may be wrong about that though.
I don't think it can be done with code since it's an internal memory setting.
I may be wrong about that though.
Re: Change Length of time when Feedmode
Put this in setup():
The number is in seconds.
There is a way to tell if you're in feeding mode, but I can't remember it. I'll see if I can dig it up.
--Colin
Code: Select all
ReefAngel.Timer[FEEDING_TIMER].SetInterval(600); // Set feeding mode to 10 minutes
There is a way to tell if you're in feeding mode, but I can't remember it. I'll see if I can dig it up.
--Colin
Re: Change Length of time when Feedmode
OK, found it.
--Colin
Code: Select all
if (ReefAngel.DisplayedMenu==FEEDING_MODE)
{
// do some stuff
}