JamesBarwell / rpi-gpio.js

Control Raspberry Pi GPIO pins with node.js
MIT License
657 stars 116 forks source link

Simplify promise interface #96

Closed andrewdotn closed 4 years ago

andrewdotn commented 4 years ago

Add the constants to the promise interface, so that only one thing is required, and removing the need to track what’s in gpio vs. gpiop.

(Hacktoberfest submission)

JamesBarwell commented 4 years ago

Great stuff, thanks very much. This is available in 2.1.5.