OK hello again. I give in and want to cry for a bit.
My problem: http://www.ebay.co.uk/itm/280877891763?ssPageName=STRK:MEWNX:IT&_trksid=p3984.m1439.l2649
, connected to a unipolar motor (6 wire, but the 2 middle ones are null now). It is connected correctly (I hope), with the VMOT and VDD having two grounds (not 1 common), external battery etc etc.
How do I code this monster that I have created? I have now 2 leads I have placed into I/O ports 4 (step) and 7 (dir) I have been searching libraries and everywhere I can think of inclusive of reprap forums and I now want to sleep.
All I need to know is what commands to send down the step and dir as the examples page explains almost nothing, unless u want to spin a motor with a pot, which is crap and pointless tbf.
seriously nearly 3 hours searching for this.
Thanks for helping if u can.
K, it was late last night so that may be a little garbled.
VCC –> 5v
GND –> GND
Motor 1 STEP –> Pin 4
Motor 1 DIR –> Pin 7
Enable –> Pin 2
is the breakout board to arduino config. I am still working on a solution but until then