Button behaving odd with 2v09 #3785
Unanswered
espruino-discuss
asked this question in
Puck.js, Pixl.js, Jolt.js and MDBT42
Replies: 1 comment
-
Posted at 2021-07-29 by @gfwilliams That'd odd - you could check Could you try and get this down to a super basic example that has the same problem, using On nRF52, 2v09 did switch to using low lower watches on pins - but I haven't personally seen any issues with doing that here. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2021-07-29 by DanTheMan827
I have a watch set to trigger on the rise with a 50ms debounce and in 2v08 I can repeatedly press it and the action goes off just fine.
But with my code on 2v09 I have to wait a couple hundred ms before I can press it again...
If I make a new sample project it doesn't exhibit any issue, but for whatever reason my code doesn't work the same with 2v09.
https://raw.githubusercontent.com/DanTheMan827/ntag215-puck.js/master/ntag215.js
I've tried putting console log statements at various places and they all seem to trigger at the speed they should, but there's still that pause that needs to be between presses...
Any idea what could be causing this behavior?
Beta Was this translation helpful? Give feedback.
All reactions