The diagram on page 18 of Manual 3 shows the Picaxe connections to the L293D being from Pin 4, Pin 5, Pin 6 and Pin 7.
As I'm using an 08M, I'm guessing this really means Leg 4, Leg 5, Leg 6 and Leg 7 (the usual confusion), as the 08M only has Pins 0 to 4.
If my assumption is correct, this is also wrong as Leg 4 is (generally) an Input Only pin, so cannot be used to output to the L293D; on the 08M series Leg 3 (Pin 4) has to be used instead.
This also then means the associated code is relatedly wrong; the pin High outputs (%1010,%1001,%0101,%0110) should be (%10010,%10001,%00101,%00110). This amendment works in the Program Editor, whereas the published code throws an error.
However, I see from previous stepper motor postings that this diagram and code has been used successfully since time immoral, so my reasoning must be incorrect.
Could someone please gently clarify my confusion?
Thanks,
As I'm using an 08M, I'm guessing this really means Leg 4, Leg 5, Leg 6 and Leg 7 (the usual confusion), as the 08M only has Pins 0 to 4.
If my assumption is correct, this is also wrong as Leg 4 is (generally) an Input Only pin, so cannot be used to output to the L293D; on the 08M series Leg 3 (Pin 4) has to be used instead.
This also then means the associated code is relatedly wrong; the pin High outputs (%1010,%1001,%0101,%0110) should be (%10010,%10001,%00101,%00110). This amendment works in the Program Editor, whereas the published code throws an error.
However, I see from previous stepper motor postings that this diagram and code has been used successfully since time immoral, so my reasoning must be incorrect.
Could someone please gently clarify my confusion?
Thanks,