8000 BREAKING - analogWriteRange 8-bit default by earlephilhower · Pull Request #7456 · esp8266/Arduino · GitHub
[go: up one dir, main page]

Skip to content

BREAKING - analogWriteRange 8-bit default #7456

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

Merged
merged 8 commits into from
Jul 29, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

8000
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
BREAKING - analogWriteRange 8-bit default
Matching standard Arduino cores, make the default analogWrite() take
values from 0...255.  Users can always use the analogWriteRange() call
to change to a different setup.

Fixes #2895
  • Loading branch information
earlephilhower committed Jul 14, 2020
commit 13f5dfb5c863e973b3504129220dbc70a1e246ad
2 changes: 1 addition & 1 deletion cores/esp8266/Arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ extern "C" {
#define HIGH 0x1
#define LOW 0x0

#define PWMRANGE 1023
#define PWMRANGE 255

//GPIO FUNCTIONS
#define INPUT 0x00
Expand Down
0