Can my puck interrupt on both BTN and TILT? #6326
Unanswered
espruino-discuss3
asked this question in
General
Replies: 1 comment
-
Posted at 2020-09-21 by @gfwilliams The two things will work fine together - Puck.js has a bunch of different interrupt sources and chooses them such that they don't conflict. However probably what you're hitting is that Easiest thing to do is to create one function called Also just FYI, but |
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 2020-09-18 by HeneryH_(Henery_Hawk)
Looking at the tilt library it seems to be using INT1.
The setWatch(button) isn't clear on which interrupt it is using.
Each of these two separate tests work independently but when I combine them they must conflict.
Beta Was this translation helpful? Give feedback.
All reactions