You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If some other driver needs a LOW level, does it make sense to have an additional new define for the JYQD driver? Something like that ?
#ifdef MOTOR_DRIVER_JYQD
enableActive = HIGH
#else
enableActive = LOW;
#endif
thanks
The text was updated successfully, but these errors were encountered:
Hi,
In case of JYQD driver, the enable is HIGH level.
in this function with the brushless define the enable is LOW
void AmMotorDriver::begin(){
#ifdef MOTOR_DRIVER_BRUSHLESS
// logic for brushless drivers
CONSOLE.println("MOTOR_DRIVER_BRUSHLESS: yes");
faultActive = LOW;
enableActive = LOW;
If some other driver needs a LOW level, does it make sense to have an additional new define for the JYQD driver? Something like that ?
#ifdef MOTOR_DRIVER_JYQD
enableActive = HIGH
#else
enableActive = LOW;
#endif
thanks
The text was updated successfully, but these errors were encountered: