Bill
Now looking at PIC 16F877 datasheet... I can connect RA0,RA1,RA2 and RA3 to DPDT Pins 9,10,1 and 2 respectively?...Ra0 to RA3 pins are analog input/output pins....can i use port B pins aswell for the other motor? or do i need an analog in/out pin?....the circuit you posted earlier ..is it exactly what i have to make?
I read that i need a diode on the output of a relay because of high spikes on coil discharging can effect the rest of the circuit..do you agree?