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

I2C & PWM fixes #15

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

I2C & PWM fixes #15

wants to merge 7 commits into from

Conversation

jesstr
Copy link

@jesstr jesstr commented Dec 16, 2019

  1. Fixed linux i2cdetect tool can't detect the board;
  2. Fixed PWM frequency set according to the issue PWM frequency and steps are set incorectly #9. Checked with the oscilloscope - works like a charm, thanks @danielfmo; Max PWM frequency is limited to the 31250Hz.
  3. Changed PWM duty cycle set format to percents (0-100%). This fix can break some workflows with the old code, but the frequency/duty cycle set commands was actually broken anyway, so I think more intuitive motor speed control worth its incompatibility.

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.

1 participant