How do I change the length of the feeding mode?
Right now it is set for 900 seconds or 15 min. I only need it to be off for 10 min (600). I just don't see that in the code.
Also I see a setting for Lights on mode in my code, but I don't have that on my menu or anywhere I can find it.
I'm just using the standard "Simple Menu".
Changing Feeding Mode Time.
- Sacohen
- Posts: 1833
- Joined: Sun Apr 21, 2013 6:25 am
- Location: Davie, FL
-
rimai
- Posts: 12857
- Joined: Fri Mar 18, 2011 6:47 pm
Re: Changing Feeding Mode Time.
You can use android to change the memory location or even web browser like this:
http://ipaddress:2000/mi214,6000
You can also add this to your code after ReefAngel.Init();
http://ipaddress:2000/mi214,6000
You can also add this to your code after ReefAngel.Init();
Code: Select all
ReefAngel.Timer[FEEDING_TIMER].SetInterval(600);
Roberto.
- Sacohen
- Posts: 1833
- Joined: Sun Apr 21, 2013 6:25 am
- Location: Davie, FL
Re: Changing Feeding Mode Time.
Thanks Roberto.
That worked. Is there a guide or a place to find things like this.
Also what about the Lights on mode from above?
That worked. Is there a guide or a place to find things like this.
Also what about the Lights on mode from above?
-
rimai
- Posts: 12857
- Joined: Fri Mar 18, 2011 6:47 pm
Re: Changing Feeding Mode Time.
You need to enable the standard menu.
Add this to setup():
Add this to setup():
Code: Select all
ReefAngel.AddStandardMenu();
Roberto.
- Sacohen
- Posts: 1833
- Joined: Sun Apr 21, 2013 6:25 am
- Location: Davie, FL