Skip to content

Missing pinMode INPUT_PULLUP #23

@joergkeller

Description

@joergkeller

Using the DHT library (by Adafruit, version 1.3.8, https://github.com/adafruit/DHT-sensor-library) created a compile error because INPUT_PULLUP is not defined in Arduino.h or ASR_Arduino.h respective.
I've modified DHT to use

    pinMode(_pin, INPUT); 
    digitalWrite(_pin, HIGH);

instead, but this is no real solution.
Does OUTPUT_PULLUP have the same effect? If so, could you please define an alias so that the original library can be used again.
I am using version 0.0.3, installed by the board manager on Arduino IDE 1.8.10.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions