Raspberry Pi : 2 Model B v1.1 This is the circuit I am trying to implement : http://www.homofaciens.de/bilder/technik/v-plotter_012.htm
This is the code : https://ideone.com/vDPtsa
I have made the following connections : Left Motor : InA :- PortNo - 26 InB :- PortNo - 24 InC :- PortNo - 22 InD :- PortNo - 23
Right Motor : InA :- PortNo - 13 InB :- PortNo - 15 InC :- PortNo - 19 InD :- PortNo - 21
Problem : Only my left motor is functioning properly whereas right stepper motor is only vibrating (stuttering). Both these motors have been tested individually using arduino. They worked fine. I am using L298 Dual H Bridge motor for driving these stepper motors.