I am looking to reverse the timing of redstone for an airlock system I'm building. I have tried using ABBA and ABAB switches, but to no avail. I would like it to work as follows;
-- Stage 1 --
Inside door is closed
Water side door is open
Close water side door
Wait X ticks (repeater configurable) for water to drain
Open inside door
-- Stage 2 --
Inside door is open
Water side door is closed
Close inside door
Open water side door
As you can see, I only want timing in one direction (when the power is coming on, or going off), and I'm not completely sure how to go about doing this. Any tips would be welcomed.