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

BREAKING - analogWriteRange 8-bit default #7456

Merged
merged 8 commits into from
Jul 29, 2020

Commits on Jul 14, 2020

  1. 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 esp8266#2895
    earlephilhower committed Jul 14, 2020
    Configuration menu
    Copy the full SHA
    13f5dfb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    583bed8 View commit details
    Browse the repository at this point in the history

Commits on Jul 17, 2020

  1. Configuration menu
    Copy the full SHA
    10f7df8 View commit details
    Browse the repository at this point in the history

Commits on Jul 26, 2020

  1. Configuration menu
    Copy the full SHA
    c19ae4c View commit details
    Browse the repository at this point in the history
  2. Match upstream Arduino interfaces

    Add a `analogWriteResolution` which takes a number of bits and sets
    the range from 0...(1<<bits)-1
    
    Remove the PWMRANGE define.  It's non-standard and not generally valid
    (i.e. it's fixed at 1024 of 256, but the real range varies depending on
    what you last set).
    earlephilhower committed Jul 26, 2020
    Configuration menu
    Copy the full SHA
    f505ec7 View commit details
    Browse the repository at this point in the history

Commits on Jul 28, 2020

  1. Configuration menu
    Copy the full SHA
    601a79f View commit details
    Browse the repository at this point in the history
  2. Update documentation for new calls and defaults

    Also add note about the change and how to fix pre 3.0 applications.
    earlephilhower committed Jul 28, 2020
    Configuration menu
    Copy the full SHA
    7522ab1 View commit details
    Browse the repository at this point in the history

Commits on Jul 29, 2020

  1. Configuration menu
    Copy the full SHA
    0bbedbb View commit details
    Browse the repository at this point in the history