Comments (1)
just use button.attachLongPressStart(...)
instead of button.attachPressStart(...)
I hope that help.
from onebutton.
Related Issues (20)
- Code works in Arduino IDE but will not complie in PlatformIO HOT 2
- how to use this library with MCP23017?? HOT 5
- detach function HOT 1
- Add support for lambda functions. HOT 3
- possible to add quick press + long press? HOT 3
- ESP32CAM only pin 4 working HOT 1
- type mismatch for setPressTicks HOT 1
- Update Published PlatformIO version HOT 7
- OneButton stop working after ESP32 deep sleep HOT 3
- Arduino Library Manager doesn't download latest version HOT 2
- Lag after button press HOT 4
- Library not working on Nano ESP32 Board HOT 14
- Detecting multiple clicks returns wrong values for > 2
- HOMING
- Add isPressed function to support latching switch. HOT 1
- In the special input example, is it correct that click is fired first? HOT 6
- TwoButtons , only the first button work, the second button can not work。两个按键错误。 HOT 4
- event to fire immediately, when button is pressed HOT 1
- Deprecation warning on stm32 Arduino HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from onebutton.