Go Down

Topic: MATLAB Stepper Nano Problems (Read 260 times) previous topic - next topic

KevinMICK

Hello All,

I cannot seem to get my Matlab software to control my hardware:

http://www.gravitech.us/2mwfecoadfor.html
http://www.arduino.cc/en/Main/ArduinoBoardNano

1. If I get a solid connection after loading a .pde file and installing a the Afmotor library on the nano and all I get is a large printout saying that the Arduino was successfully connected to MATLAB, but the pins are unassigned, how do I assign those darn pins?

int motorpin1(6) or something? and if so wont I delete the whole motorsrv.pde file form the board that made a connection to mat-lab even possible?

2. Do I need to alter the motorsrv.pde file that I found on the MATLAB support I/O pack in order to suit the Nano or are they fine for all boards, driveshield and steppers?

PLease EMail me or respond to this !



kbmcmorrow @ gmail

Go Up