Permalink
Commits on Oct 26, 2016
Commits on May 27, 2016
  1. Add GitHub issue template

    tdicola committed May 27, 2016
  2. Add GitHub pull request template

    tdicola committed May 27, 2016
Commits on Oct 13, 2015
  1. Fix #44 by conditionally excluding unused port and bitmask state on n…

    …on-AVR platforms.
    tdicola committed Oct 13, 2015
  2. Merge comment update from pull #43

    tdicola committed Oct 13, 2015
  3. Bump library to 1.2.2 version.

    tdicola committed Oct 13, 2015
  4. Merge branch 'jmdana-master'

    tdicola committed Oct 13, 2015
Commits on Oct 6, 2015
  1. Divisions turned into multiplications

    As correctly stated by Mausy5043, the division is quite slow in most
    microcontrollers, so I have replaced them with multiplications.
    jmdana committed Oct 6, 2015
  2. Merge branch 'jmdana-master'

    tdicola committed Oct 6, 2015
  3. Bump version to 1.2.1

    tdicola committed Oct 6, 2015
Commits on Oct 3, 2015
Commits on Oct 2, 2015
  1. DHT::computeHeatIndex has been modified so it uses both Rothfusz and

    Steadman's equations. As a result, it allows a larger range of
    temperatures and more accurate results for extreme conditions.
    jmdana committed Oct 2, 2015
Commits on Sep 15, 2015
Commits on Jul 24, 2015
  1. Use INPUT_PULLUP

    Previously, the mode was configured to INPUT and then written HIGH,
    which works on AVR but isn't very portable. Instead, this uses the
    INPUT_PULLUP pin mode (available since Arduino 1.0.1) which is portable.
    matthijskooijman committed Jul 24, 2015
  2. Shrink DHT::data to 5 bytes

    There's only 5 bytes of data being transferred (2x2 bytes of data, 1
    byte checksum), so no need to keep a useless byte.
    matthijskooijman committed Jul 24, 2015
  3. Remove the firstreading variable

    By cleverly setting _lastreadtime in begin() to make sure that it looks
    like the last read was alrady 2000 ms ago, even on startup when millis()
    still returns 0, there is no longer a need to keep a separate
    firstreading variable, saving a byte of memory and a bit of code.
    matthijskooijman committed Jul 24, 2015
  4. Clean up two-second interval check

    There was some handling of millis() overflow that is not needed.
    Standard unsigned subtraction and wraparound already works as expected,
    so this extra check can be removed (it even hurts, since it introduces 2
    seconds after a wraparound where no new data will be read, even if it
    could otherwise happen).
    
    Also, this prevents calling millis() a second time, since its value is
    already known.
    matthijskooijman committed Jul 24, 2015
  5. Add force parameter to read methods

    This allows forcing a read, even if the previous read was less than 2
    seconds ago. This is useful in cases where the millis() timer is not
    reliable, such as when sleeping. In this case, it is up to the caller to
    ensure that at least 2 seconds elapse between calls with force set to
    true.
    matthijskooijman committed Jul 24, 2015
Commits on Jul 22, 2015
  1. Fix #37 by optimizing pulse read to use direct port access on AVR, st…

    …ops checksum failures from missed signals.
    tdicola committed Jul 22, 2015
Commits on Jul 2, 2015
  1. Merge pull request #36 from Zirientis/master

    Cause interrupts to be reenabled if a timeout occurs while waiting for the sensor
    tdicola committed Jul 2, 2015
  2. Cause interrupts to be reenabled if a timeout occurs while waiting fo…

    …r the sensor.
    Zirientis committed Jul 2, 2015
Commits on Jun 26, 2015
  1. Merge branch 'MyIgel-master'

    tdicola committed Jun 26, 2015
  2. Fix merge conflicts, make compute heat index default to Fahrenheit to…

    … not break old code that assumes default is Fahrenheit.
    tdicola committed Jun 26, 2015
  3. Merge branch 'dynamic_timing'

    tdicola committed Jun 26, 2015
Commits on Mar 31, 2015
Commits on Nov 1, 2014
Commits on Jul 26, 2014