davidepalladino / Button-Arduino

This library allows to manage a button, specifying if the pressure is long or not.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PULLUP for ESP8266 nodemcu doesnt compile

getoledo opened this issue · comments

I tried pullup procedures example for nodemcu esp82666 and doesnt compile
Nice function,very useful. thanks

Thanks for report and the use. The main problem concerns the symbolic constants PULLUP and NO_PULLUP.

For the boards of ESP family, the symbolic constant for PULLUP is INTERNAL_RESISTOR, and NO_PULLUP is EXTERNAL_RESISTOR

See this Wiki pages: Constructors / Symbolic-constants

Moreover, I'm preparing a version 2.x.x to unify the symbolic constants.

Solved in new version 2.0.0!