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

Corr branch #20

Merged
merged 6 commits into from
Feb 7, 2017
Merged

Corr branch #20

merged 6 commits into from
Feb 7, 2017

Commits on Feb 6, 2017

  1. Invalid version number

    Changed version number to avoid Arduino complaining about “Invalid
    version found: 2.1.02”
    klagr committed Feb 6, 2017
    Configuration menu
    Copy the full SHA
    41f76cd View commit details
    Browse the repository at this point in the history
  2. Integer overflow warning

    Compiler warning: integer overflow in expression. Changed 100*1000 to
    100000.0
    klagr committed Feb 6, 2017
    Configuration menu
    Copy the full SHA
    28bb468 View commit details
    Browse the repository at this point in the history
  3. Change default constructor mode value

    Changed default mode value to 0x1 (forced mode), to be consistent with
    the comments in Arduino source file examples.
    klagr committed Feb 6, 2017
    Configuration menu
    Copy the full SHA
    c53a08f View commit details
    Browse the repository at this point in the history
  4. Corrected example param values

    The example BME280I2C constructor values were wrong, correct order is
    tosr, hosr, posr and not posr, tosr, hosr. Also corrected the mode
    value to 3 were normal mode should be selected (according to comments).
    klagr committed Feb 6, 2017
    Configuration menu
    Copy the full SHA
    4113493 View commit details
    Browse the repository at this point in the history
  5. Running in forced mode

    Modified code so that when in forced mode the BME280 goes from sleep to
    forced mode just before reading the data. Original code had a bug,
    where the sensor was left in sleep mode and it was just reading the old
    stored measurements in the registers.
    klagr committed Feb 6, 2017
    Configuration menu
    Copy the full SHA
    e7af7c4 View commit details
    Browse the repository at this point in the history
  6. Corrected typo

    Changed the BME280::press method to BME280::pres to be consistent with
    the README.md
    klagr committed Feb 6, 2017
    Configuration menu
    Copy the full SHA
    f6db78e View commit details
    Browse the repository at this point in the history