gpio
gpio copied to clipboard
Pull down resistor option
Just to be sure, is:
gpioPin.reset()
Equivalent to a pull down resistor?
I know this is really old but to answer the question for future users. I am pretty sure that .reset() just sets the pin back to LOW, it isnt a pull down.
I guess this is specific to hardware, for instance on RPi, you'll have to use http://wiringpi.com 's gpio command:
gpio -g mode 11 down
But there are other alternate gpio lib for specific hw, does gpio.js intend to support more hardware and feature ? If so IRQ support would be welcome too, if not maybe listing limitations on README will be helpful to developers.
This could be added as a "plugin" feature, as we don't want to break generic support
Relate to: https://github.com/EnotionZ/GpiO/issues/30