🔮Adafruit sale all weekend long – use the code ADATHX for 15% off! 🔮
0

Changing the Microstepping in matlab
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Changing the Microstepping in matlab

by anthonychiew on Sat Feb 20, 2016 4:28 am

Hi i am working on a project using matlab to control the motorshield.
I understand there are different 1/4, 1/8,1/16,1/32 microstepping. Can i know the code to change the value of microstepping?

Thanks

anthonychiew
 
Posts: 1
Joined: Sat Feb 20, 2016 4:25 am

Re: Changing the Microstepping in matlab

by adafruit_support_bill on Sat Feb 20, 2016 7:26 am

Not sure how MatLab is communicatin with the shield. If it is using the Adafruit library, the microstepping resolution is a compile-time constant in the header file.

adafruit_support_bill
 
Posts: 79404
Joined: Sat Feb 07, 2009 10:11 am

Please be positive and constructive with your questions and comments.