How do I get two pistons (one of them on an inverted signal) to go at the same time?
Here's the problem - I need two pistons to go at the exact same time, so that one of them is contracted and the other is expanded, on a switch mechanism. To achieve this, one of the pistons has to have an inverted redstone signal, like so.

This would be all fine and dandy except that when the signal is inverted it's slower by the tiniest fraction of a second. So, I add a repeater onto the other piston to slow the signal, but then that one is slower than the other. This problem has stumped me on many of my redstone projects, and any solution would be much appreciated.
Best Answer
The NOT gate also called inverter delays the time exact one tick.
circuit delay: 1 tick
from the minecraft gamepedia
That means the signal on the otherside is one tick to fast. To solve that simply put a repeater in the connection to the other piston.
A repeater also delays the signal with one tick.
When initially placed, a redstone repeater has a delay of 1 redstone tick.
from the minecraft gamepedia
That means your circuit should look like this:

I only have the ability to check that with my eyes and ears and it seems pretty at the same time. Anyway you said you tried that...
Here is your secound answer:
There is a thing called instant inverter. It looks like this:

To get the whole thing working remove your inverter and place this instant inverter at this place. Keep in mind that the piston with the inverter acts strange. But this does not influence the block movememt. Neiter from a normal or sticky piston.

circuit delay: 0 ticks
from the minecraft gamepedia
You find other instant inverter possibilitys in the source link above.
Pictures about "How do I get two pistons (one of them on an inverted signal) to go at the same time?"



How do you make pistons work backwards?
In the Windows 10 Edition of Minecraft, you can attach levers or other redstone switches directly to a piston. If you want one redstone switch to control multiple pistons, you will have to link the pistons with redstone dust and power it.Minecraft Tutorial - Witch Flushing Farm
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Geometric Photography, Geometric Photography, Geometric Photography, Tatiana Syrikova
