Thread Drive Sample Code for Motor Ports?


#1

I’m adding a Thread Drive Pack to my XY Plotter in order to mount a Dremel, lowering it using the Z-command. Obviously, I’ll be connecting the motor to one of the 2 motor ports on my Orion. I was curious if there is any sample firmware code available for these motors? Anyone done something similar? Any guidance would be appreciated. I’ll be using GRemote, sending GCode commands.

The thread drive pack in quesiton:
http://makeblock.com/thread-drive-pack-v2-0-blue

Thank you!


#2

Ahhh, I just discovered the MakeBLock Libraries over at GitHub.

This more or less answers my question:
https://github.com/Makeblock-official/Makeblock-Libraries/tree/master/makeblock/example/Me_DCMotor/DCMotorDriverTest

If anyone has any experiences, additional gotcha’s, I’d sure be open to hearing!


#3