A lil Apex programming help

BroccoliFarmer

10K Club member
View Badges
Joined
Jan 13, 2021
Messages
11,023
Reaction score
18,785
Location
Medford, NJ
Rating - 0%
0   0   0
Morning all. Was wondering if I could impose on the community for a little help. I have the plank auto feeding system that I am currently doing day time feedings for using the following schedule:

Fallback OFF​
OSC 000:40/059:20/000:00 Then OFF​
If Time 20:00 to 13:00 Then OFF​

I wanted to add a singular night time feeding of 60 seconds. (Ideally, i would like it 40 seconds but I dont see that option with the on off functions) I dont want to accidentally dump the entire container in the tank.

Would it be:
Fallback OFF​
OSC 000:40/059:20/000:00 Then OFF​
If Time 01:00 to 01:01 Then On​
If Time 20:00 to 13:00 Then OFF​

Or would it be

Fallback OFF​
OSC 000:40/059:20/000:00 Then OFF​
If Time 20:00 to 13:00 Then OFF​
If Time 01:00 to 01:01 Then On​
I guess it could also be
Fallback OFF​
OSC 000:40/059:20/000:00 Then OFF​
If Time 20:00 to 01:00 Then OFF​
If Time 01:00 to 01:01 Then On​
If Time 01:01 to 13:00 Then Off​
Any insights would be appreciated. Thank you in advance
 
Last edited:
You want this.​
Fallback OFF​
OSC 000:00/000:40/059:20 Then ON​
If Time 20:00 to 00:59 Then OFF​
If Time 02:00 to 12:59 Then OFF​
AHHH..never would have occured to me to do it that way. thank you so much!!!

Ufc 205 Thank You GIF by UFC
 

IF YOU HAD TO TAKE A REEFING EXAM, WOULD YOU PASS?

  • Yes!

    Votes: 32 45.7%
  • Not yet, but I have one that I want to buy in mind!

    Votes: 9 12.9%
  • No.

    Votes: 26 37.1%
  • Other (please explain).

    Votes: 3 4.3%

New Posts

Back
Top