Saeterncj / MX1508

Arduino library for MX1508 dual DC motor driver
MIT License
35 stars 15 forks source link

NumOfPwmPins can not be set by #define NUMPWM 2 as in examples #3

Open SeanDolan opened 3 years ago

SeanDolan commented 3 years ago

NumOfPwmPins can not be set by #define NUMPWM 2 as in examples as it reports an error converting from Int to NumOfPwnPins. Setting it to the following works:

const NumOfPwmPins NUMPWM = PWM_2PIN;

PlastiBots commented 2 years ago

FYI. This is still not fixed in the examples. Still shows as #define NUMPWM 2