jperkin / node-rpio

Raspberry Pi GPIO library for node.js
856 stars 123 forks source link

Example with button polling #168

Open SteveC00k opened 1 year ago

SteveC00k commented 1 year ago

I am unable to figure out how to properly keep polling but when testing I noticed CTL-C does not exit. I have to kill the app. Anyway around this?

SteveC00k commented 1 year ago

Also how would one do more than one button?