Quote Originally Posted by Melanie View Post
Whilst this was written some time ago, the subject crops up every now and again, so may be useful to some folks. Written for a 4-wire Stepper Motor...

Melanie
Hello Mel, Everyone,

I`d like to know how to get the code into the chip, (might sound silly), but it doesn`t seem to want to compile in any of the software.

I`ll more than likely be using a 6 wire stepper motor, but shouldn`t matter, as there`s still only 4 to drive the coils, the other two are power wires.

Have tried a few things, like using PortC outputs on pin 5,6,7,8 instead, that`s just by changing the portB to portC, no go either.

Other items would be,
9&10 for LED output, 11 for step, 12 for Direction, 13 for Enable, pins 1&2 to pull hi / low, via jumpers or 2 switch DIL component. (1on/2on, 1off/2on, 2on/1off, 1off/2off)

Any assistance at all would be appreciated immensley.

Thank you.