arduino-libraries / ArduinoMotorCarrier

GNU Lesser General Public License v3.0
16 stars 15 forks source link

change the PWM frequency on a MKRMotorCarrier #16

Open norberto-pires opened 4 years ago

norberto-pires commented 4 years ago

Hello, Is there an implementation on setting the PWM frequency for the servos in a MKRMotorCarrier? The library has the function but not implemented. Thanks. norberto

facchinm commented 4 years ago

Hi @norberto-pires , there is not so much space left on the D11 microcontroller to add this feature, but for M3 and M4 (controlled by the D21) there is a chance (https://github.com/arduino-libraries/MKRMotorCarrier/blob/master/src/DCMotor.cpp#L39). If anyone's willing to implement it I'll be happy to merge :slightly_smiling_face:

arun2201 commented 4 years ago

Hello, Can I use the PWM frequency library? Thanks. Arunaabh Singh

AsherThomasBabu commented 4 years ago

@facchinm if you point me in the direction, I am willing to give it a try. Thank you Asher