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

concurrent PWM outputs count #757

Closed
RafaelKa opened this issue Nov 12, 2015 · 3 comments
Closed

concurrent PWM outputs count #757

RafaelKa opened this issue Nov 12, 2015 · 3 comments

Comments

@RafaelKa
Copy link

How many PWM outputs are available at same time?
According to documentation its 3 PWMs:
https://github.com/nodemcu/nodemcu-firmware/wiki/nodemcu_api_en#description-70

but in your code are 6 possible:

LOCAL int8 pwm_out_io_num[PWM_CHANNEL] = {-1, -1, -1, -1, -1, -1};

#define PWM_CHANNEL 6

Which is also correct?

PS: I do not have currently ESP8266 devices to test it!

@TerryE
Copy link
Collaborator

TerryE commented Nov 12, 2015

Sorry but please see #719.

@TerryE TerryE closed this as completed Nov 12, 2015
@RafaelKa
Copy link
Author

So i see now in wiki, there are 6 PWMs

2014-11-11
add file.seek() api to file module
now max 6 pwm channel is supported

Despier of #719 this should be fixed in the docs!

@TerryE
Copy link
Collaborator

TerryE commented Nov 12, 2015

@RafaelKa, you can create the PR (Pull Request) as easily as we can.

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

No branches or pull requests

2 participants