I control a stepper motor with G201X gecko, the manual is here G201X / G210X REV-6 | GeckoDrive.
Before that I used other cheap driver that I control with a teensy 3.2 board. I use AccelStepper library to control the driver and it has a function that can disable the driver when is needed disableOutputs (). I just connect the enable pin of the cheap driver to the teensy and is working.
Now with gecko, I connect the same pin to the same digital pin of the teensy but is not getting the command. What should I do?
#include <AccelStepper.h> //
AccelStepper stepper(AccelStepper::DRIVER,10,11);
int enable_pin=12;
stepper.setEnablePin(enable_pin);
stepper.setPinsInverted(false,false,false);
stepper.disableOutputs(); //this is not disable the outputs.