hello friends i have a question about parallel port program .
1> i have a three motor .
2> i have a two switch. initially switch is connected to relay via controlling through parallel port ok.
3> in this two switch one switch operate three motor right and second switch operate only one motor right.
so my question is my software side which type of coding to do
1> all motor on
2> all motor off
3>out of three motor two motor start and one motor stop
4>out of three motor two motor stop and one motor start