- Joined
- May 13, 2019
- Messages
- 1,016
Okay, I'll fire away here then.
The servo motor drive has 3 inputs from Clough42's interface PCB. Namely, STEP, DIRECTION, and ENABLE. The signals going to the the drive are differential. Typically, the "+" inputs are tied to +5V and the STEP, DIRECTION, and ENABLE pins from the interface PCB are connected to the '-' inputs. So, that would make all of them active low. Yet, in the code, there are defines for these that are set as follows:
// #define INVERT_STEP_PIN true
// #define INVERT_DIRECTION_PIN true
#define INVERT_ENABLE_PIN true
This implies the ENABLE pin is active low (as it should be), but the STEP and DIRECTION pins are active high. Isn't this wrong?
The servo motor drive has 3 inputs from Clough42's interface PCB. Namely, STEP, DIRECTION, and ENABLE. The signals going to the the drive are differential. Typically, the "+" inputs are tied to +5V and the STEP, DIRECTION, and ENABLE pins from the interface PCB are connected to the '-' inputs. So, that would make all of them active low. Yet, in the code, there are defines for these that are set as follows:
// #define INVERT_STEP_PIN true
// #define INVERT_DIRECTION_PIN true
#define INVERT_ENABLE_PIN true
This implies the ENABLE pin is active low (as it should be), but the STEP and DIRECTION pins are active high. Isn't this wrong?