Quote Originally Posted by eggman View Post
Another possibility is to use two relays, controlled by two pins of the PIC. One for forward the other for reverse. See the simple attached drawing
It is also possible to make it using one dual contact relay.

Right here it is: http://www.picbasic.co.uk/forum/showthread.php?t=8567

However, our friend xnihilo needs to control the whole thingie with one pin.

-----------------