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

Watch does not work. #6

Closed
gildean opened this issue May 22, 2013 · 1 comment
Closed

Watch does not work. #6

gildean opened this issue May 22, 2013 · 1 comment
Labels

Comments

@gildean
Copy link

gildean commented May 22, 2013

Running the interrupt-example on a raspi (except with pin 17 and not 18), the callback for the watch-function never fires.
Manually reading the gpio at /sys/class/gpio/gpio17/value the value is changed on buttonpress (from 1 to 0).

The connection is made with a 10Kohm resistor between the gpio-pin and 3.3V and the gpio-pin has a 1Kohm protector resistor in front. The button is connected between gnd and 3.3v.

Running on latest raspbian and node 0.8.23.

@gildean
Copy link
Author

gildean commented May 23, 2013

It appears to have been a bug somewhere else, after reboot this started to work on its own.

@gildean gildean closed this as completed May 23, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant