May help to know what motor your using.
Also, edit your post and swap out the quote tags with code tags.