Closed kenci closed 9 years ago
Yes, there is something like that, it's called interrupts. It'll be available in v2.0.0, see : https://github.com/nekuz0r/wiring-pi/blob/incoming-v2.x/DOCUMENTATION.md#interrupts
The v2.0.0 will be available this week, so if you can, be patient :)
@kenci I'm sketching a pure-JS wrapper around wiring-pi
for a R&D project.
Are you searching something like that?
@nekuz0r \o/ Interrupts will be more efficient than my current polling strategy!
Waiting for this feature too.
Today is the day :) v2.0.0 released !
Got it!
Is there any Eventlistener available? If GPIOs state has changed trigger an action or something else, like this