February 28, 2011
about a year ago
I have the L6470 hooked up to an Uno and successfully send it dSPIN_Move commands, dSPIN_GoHome() and adjust acceleration. Config register confirms communication on start up but I can not get dSPIN_ABS_POS command to give me a location.
Using the original dSPIN_example code the position returned from the driver was 0 and after updating to the new example code posted on github now i get 1 despite the command dSPIN_Move(FWD,
Here is the solution code from tech support. Hope this helps
int posn = 0; // Variable to hold the absolute position value
while (digitalRead(dSPIN_BUSYN) == LOW); // Until the movement completes, the
// BUSYN pin will be low.
dSPIN_SoftStop(); // Inserting a soft stop between
// motions ensures that the driver
// will execute the next motion with
// the right speed.
posn = dSPIN_GetParam(dSPIN_ABS_POS); // Calling the absolute position
Serial.print(“position = ”); // Display that info
while (digitalRead(dSPIN_BUSYN) == LOW); // Wait for the soft stop to complete.
News - Check out the Lumapad!
about 2 years ago
Didn’t Lite Panels lock down the patent on using LED panels in the Untied States?
about 3 years ago
How do you cut the traces?
about 4 years ago
would it be possible to order the board with out the green or red LEDs? I would like to swap them with warm (natural) white super bright 5mm LEDs.
No public wish lists :(
Forgot your password?
No account? Register one!