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

"1023 makes the pin always HIGH" is not correct #19

Open
billfrench opened this issue Sep 28, 2016 · 2 comments
Open

"1023 makes the pin always HIGH" is not correct #19

billfrench opened this issue Sep 28, 2016 · 2 comments

Comments

@billfrench
Copy link

as per: https://forum.pjrc.com/threads/37346-TimerOne-library-bug

Docs from: https://www.pjrc.com/teensy/td_libs_TimerOne.html

Timer1.pwm(pin, duty);
Configure one of the timer's PWM pins. "duty" is from 0 to 1023, where 0 makes the pin always LOW and 1023 makes the pin always HIGH.

@cryptoAlgorithm
Copy link

Can you please elaborate what brought you to conclude that this statement is incorrect?

@michalwoz
Copy link

Thi is duplicate of #48

#48 (comment)
#48 (comment)

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

3 participants