You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On 19/10/2020, at 8:19 AM, Jueff ***@***.***> wrote:
Enabling pullup for ExtIntPin fails with ESP32.
Seems that old way to enable pullup by writing a 1 to the port doesn't work with ESP.
Changed code from
if( EnablePullup )
digitalWrite(ExtIntPinNum, HIGH);
to
pinMode( ExtIntPinNum, EnablePullup ? INPUT_PULLUP : INPUT );
then it works.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub <#43>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AB5Y53N57OAZC5IFEXHWYYLSLM5VPANCNFSM4SVJAHIQ>.
Enabling pullup for ExtIntPin fails with ESP32.
Seems that old way to enable pullup by writing a 1 to the port doesn't work with ESP.
Changed code from
to
pinMode( ExtIntPinNum, EnablePullup ? INPUT_PULLUP : INPUT );
then it works.
The text was updated successfully, but these errors were encountered: