I'm trying to build a circuit using relays to run a motor until it hits a limit switch, when act aged again it will run the opposite direction until it hits the limit switch... It's activated by a single positive pulse... All at 12v system... I have a setup to allow it to run until it hits the switch just having a problem getting it to switch directions... Any help would be greatly appreciated.