Skip to content

Interrupt on CHANGE #9

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

Closed
retromuz opened this issue May 8, 2015 · 2 comments
Closed

Interrupt on CHANGE #9

retromuz opened this issue May 8, 2015 · 2 comments

Comments

@retromuz
Copy link

retromuz commented May 8, 2015

Hello there,

I am getting pin number as 255 (value also 255) when a pin is released.

pin: 7 val: 0 (when connected to GND)
pin: 255 val: 255 (when same pin disconnected from GND)

What am I doing wrong?

Tried changing the code to detect on "CHANGE" and OpenDrain configuration where it stopped working altogether.Any ideas what's going on?

Thanks in-advance,
PK.

@retromuz
Copy link
Author

retromuz commented May 9, 2015

Well I resolved it by reading the specific pin only.

@retromuz
Copy link
Author

Closed!

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

1 participant