Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix hardcoded pulse limits #134

Merged
merged 3 commits into from
Jul 11, 2018
Merged

fix hardcoded pulse limits #134

merged 3 commits into from
Jul 11, 2018

Conversation

ichbtm
Copy link
Contributor

@ichbtm ichbtm commented Mar 30, 2018

As notified there #68 :
Your implementation use hardcoded pulse limits and doesn't use user's values given to the attach function.
In addition, microseconds functions doesn't use ou return a µs value.

I had to modify the type of min and max parameters to allow storage of values up to 2500µs... maybe it had would be better to add new params (ex : minus and maxus) to avoid confusion with other ARCH...

ichbtm added 3 commits March 30, 2018 17:00
and µs functions use our return µs
and removed hoardcoded pulse cycle limits
@hathach hathach added this to the 0.9.0 milestone Apr 8, 2018
@hathach hathach self-assigned this Jun 22, 2018
@hathach
Copy link
Member

hathach commented Jul 11, 2018

@ichbtm thank you very much for your help, somehow this issue fall off our radar until recently :(

@hathach hathach merged commit 4614264 into adafruit:master Jul 11, 2018
@hathach
Copy link
Member

hathach commented Jul 12, 2018

@ichbtm there is a new push that fix the incorrect freq due to a bug in PWM module. Thank you again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants