471
Mach4 General Discussion / Re: Map Lua Code to ShuttlePro button
« on: May 29, 2016, 03:31:57 PM »
I cant see anywhere in your code where you have actually turned the spindle on??
try
DazTheGas
try
Code: [Select]
mc.mcSpindleSetCommandRPM(inst, 1 )
mc.mcSignalSetState (mc.mcSignalGetHandle (inst, mc.OSIG_SPINDLEON),1)
mc.mcSpindleSetDirection(inst, mc.MC_SPINDLE_FWD);
DazTheGas