Skip to content
This repository has been archived by the owner on Apr 16, 2021. It is now read-only.

analogWrite() range should be 0-255, not 0-256. #75

Merged
merged 1 commit into from
May 29, 2020
Merged

analogWrite() range should be 0-255, not 0-256. #75

merged 1 commit into from
May 29, 2020

Conversation

philj404
Copy link
Contributor

See issue #74

AnalogWrite() range was scaled from 0-256, rather than Arduino's 0-255 (8 bit) spec.

I patched this change into my Arduino board support package and ran my test program. It makes the lights turn all the way on and off now.

(This is my first pull request through github, so please let me know if I can provide more information which would be helpful for you.)

@facchinm facchinm merged commit 1716fe5 into arduino:master May 29, 2020
@facchinm
Copy link
Member

Merged, thanks!

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

Successfully merging this pull request may close these issues.

None yet

2 participants