PaulTurner911 Code
And it's very likely to have picked constant, it's only 1 in 7
|
|
// Add random mode if we set to Mode to 11(Custom in Portal)
static int rmode; static boolean changeMode=true; if (now()%SECS_PER_DAY==0 || changeMode==true) { // Change at midnight or if controller rebooted rmode=random(7); // Change the mode once per day to modes 0-6 changeMode=false; } if (mode==11) { mode=rmode; } This should have made custom do my random function correct? |
|
Yep
|
|
We will know tomorrow. How can I remove modes?....like this lol
|
|
Well I would not take them out of your list of modes. You'll just end up in your default else more often..l
I'll post some code tomorrow you can use to pick which ones get used for random mode. |
|
I does seem to have picked a different mode today!! Maybe long pulse. I have 45 for speed and 25 for duration in the portal. I see that there is a tab for DC pump now, will I be utilizing that? BUT there isnt a "custom" selection. What is your duration set at Lee? I would like my PWM graph to look a bit more like yours.
Last edited by Paulturner911 on Tue Jun 18, 2013 11:43 am, edited 1 time in total.
|
|
I set my duration to 10 but I am doing things very differently. I don't have wp40s.
The dc pump section will be supported by the new libraries. I have no idea how that is going to work yet. |
|
I see! Maybe thats why its so flat. Ive set mine to 10. I just think Im going to end up wanting to randomize lagoon, reefcrest and long pulse. Im stoked to try NT after feedmode tonight!!!
|
|
The new libs have been pushed yesterday
![]() Take a peak at the wizard. Roberto.
|
|
Cool! Ill check it out when I get home.
|
|
Who is online
Users browsing this forum: No registered users and 3 guests