It may be that your problem (like mine) was because the wires on the motor were not in the expected order.
Only just joined the forum so not sure how best to share this info, so i have added the details into this post
int point = coords[i] ;
I am new to this and I really need help!
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16