Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add digitalPinToInterrupt() #1

Open
ShawnHymel opened this issue Jan 11, 2016 · 2 comments
Open

Add digitalPinToInterrupt() #1

ShawnHymel opened this issue Jan 11, 2016 · 2 comments

Comments

@ShawnHymel
Copy link

As per new Arduino library, digitalPinToInterrupt() needs to be added to attachInterrupt().

@BigSamosa
Copy link

Do I change this in the loop, or in the initialize isr? or both? Every example from this library works flawlessly except the gesture sensor example. Seems to work fine, but nothing is read.

@jcwren
Copy link

jcwren commented Aug 15, 2017

Yeah, 18 months later, and this still isn't fixed, and it bit me trying to run it on a Teensy LC. Line 73 should be changed to read

attachInterrupt(digitalPinToInterrupt(APDS9660_INT), interruptRoutine, FALLING);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants