Hi to All,
Internal ESP12E pull ups are not being enabled with writing HIGH the digital input pin. Checked with SimpleOnOff example. Same example works as expected with Mega2560.
Using "pinMode(_pin, INPUT_PULLUP);" for enabling the pull ups fixes the issue on ESP12E. Checked with Mega2560 and also Ok.
Hi to All, Internal ESP12E pull ups are not being enabled with writing HIGH the digital input pin. Checked with SimpleOnOff example. Same example works as expected with Mega2560.
Using "pinMode(_pin, INPUT_PULLUP);" for enabling the pull ups fixes the issue on ESP12E. Checked with Mega2560 and also Ok.
if (_puEnable != 0) pinMode(_pin, INPUT_PULLUP); //enable pullup resistor else (pinMode(_pin, INPUT));