Closed nekuz0r closed 10 years ago
This update breaks some user code due to the reorganisation of the wiringPi constants. Maybe will you prefer i put back the previous definitions in exports.js for backward compatibilty ?
Impacted constants are:
modes: {
INPUT: INPUT,
OUTPUT: OUTPUT,
PWM_OUTPUT: PWM_OUTPUT
},
pull: {
OFF: 0,
DOWN: 1,
UP: 2
},
I added backward compatibility constants, so it will not breaks user code :)
Great work @nekuz0r. I'd almost given up on wiringPi2 support in node and set about updating this library, but you've done the work for me :). I'm not a maintainer, but this looks good to me.
@spikeheap Thank you, i hope @eugeneware will accept the pull request soon. In the mean time, you can install the updated version with npm (npm install git+https://github.com/nekuz0r/wiring-pi.git) If @eugeneware no longer has time to maintain this package, i would be glad to be a maintainer of it.
Thanks @nekuz0r, I'll give it a go while we're waiting for the pull request and see how it goes.
Sorry guys - have been on vacation for a few weeks (yes it's nice here in Thailand :-)
This is excellent work. I'm releasing it as 1.0.0 just in case there are any incompatibilities that show up.