Your new topic does not fit any of the above??? Check first. Then post here. Thanks.

Moderator: igrr

User avatar
By panoss
#83134 I want to connect a push button switch to some pin on an ESP8266.
I want to be able to detect (and distinguish) long press and short press.
I read about Arduino libraries that make this really easy, also offering debounce.

Is there something for ESP8266?
Or is there some Arduino library that can be used with ESP8266?

Also, I 'm thinking of connecting the button this way:

Is it ok? Can I do it with less components?
You do not have the required permissions to view the files attached to this post.