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
What's the maximum interrupt frequency on a pin the library allows? I'm trying to control a DC motor with encoder, with an encoder frecuency of about 20KHz but I'm not achieving the expected results.
The text was updated successfully, but these errors were encountered:
Do you mean the frequency of the PWM? or just manually setting the pin to HIGH/LOW repeatedly?
I'm guessing it's not PWM because I'm using jetson nano and I could get 40kHz and 60kHz output with the PWM pin.
(This could be changed depending on your jetson model and the pin you're using.)
And I believe that the library doesn't intentionally limit the frequency at the software level.
What does limit the frequency is probably the hardware.
Of course, the implementation of the library could be optimized better but I don't believe that's gonna happen in the near feature.
What's the maximum interrupt frequency on a pin the library allows? I'm trying to control a DC motor with encoder, with an encoder frecuency of about 20KHz but I'm not achieving the expected results.
The text was updated successfully, but these errors were encountered: