Quantcast
Channel: SparkFun Electronics Comments
Viewing all articles
Browse latest Browse all 44542

chris on BOB-10859 - L6470 Stepper Driver Breakout

$
0
0

Hello,

Thanks for the board, it save a lot of work for me…. well almost :–) Just one question, everything seemed to be working, but I’m not sure how to use the sample code. The motor just runs back and forth calling dspin_run. I expected that it would go one full revolution for this motor (https://www.sparkfun.com/products/9238).

Can this board be used in a pure SPI mode? I only want to use SPI so I’ve connected only the SPI lines with arduino. In fact, in my loop I just do:

dSPIN_Move(FWD, 128000); while(dSPIN_GetStatus()) delay(500); dSPIN_SoftStop();

I’d appreciate any direction I can get. Thanks in advance guys.

cc


Viewing all articles
Browse latest Browse all 44542

Trending Articles