Skip to content

Conversation

@JohannesAck
Copy link
Contributor

@JohannesAck JohannesAck commented Jan 10, 2017

Hi,
I fixed the pwm-module to work on my PcDuino V3B with it's new sysfs, however I'm unable to test it on other PcDuinos, I'll leave that to you.
I'm pretty new to Git so feel free to disregard the intermediate commits, it should have been one commit.

Edit: I just added the fourth commit, that adjusts the gpio module to disable pwm before using pin_mode, otherwise digital_write has no effect.

…f youput

the specified value from 'max_level' as 'level' by letting it only go to 1 less
The new pwm-sysfs somehow has a higher priority than digital gpio, so i changed the pin_mode function to disable pwm, if the pin supports it.
@YaoQ YaoQ merged commit c377c86 into pcduino:master Jan 10, 2017
@YaoQ
Copy link
Contributor

YaoQ commented Jan 10, 2017

Thank you very much!
I think working on 3B is OK.

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