MFR Rednet Controller - Immediate ON, Delayed OFF HOW TO

  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord

romulous75

New Member
Jul 29, 2019
1
0
0
Thought I'd put this up since I've found little info on building more advanced circuits like what you can achieve with red power 2. I hope it helps someone out.

The following combination of circuits allows you to run a device for a certain amount of time, then turn off.

Code:
One Shop Pulse
I: (input side/colour) O: VARS 1
 
SR Latch
R: VARS 0    Q: (output side/colour) To DEVICE
S: VARS 1    Q#: NULL
 
Wave (Square) [Timer]
Pd: 10        Q: VARS 2
 
One Shot Pusle
I: VARS 2    O: VARS 3
 
Counter
INC: VARS 3  Q: NULL
DEC: CNST 0  V: VARS 4
PRE: 60 (seconds to keep the OUTPUT on for)
 
Greater then or Equal
A: VARS 4    Q: VARS 0 (resets SR Latch)
B: 59 (one less then your seconds above)