this is the given problem...
If switch 1 is pressed then led's will light alternately from left to right..
If switch 2 is pressed then led's will light alternately from right to left...
this is connected to parallel ports...
please help me...