rakeshpai/pi-gpio

Your B+ diagram is incorrect

Closed this issue · 1 comments

In your readme.md you have Pin 39 as GPIO and Pin 40 as GND - that is the wrong way round.

BTW, loving the module so far.
any chance of a setWatch function - something similar to how espruino (http://www.espruino.com/Reference#l__global_setWatch) does it.

Thanks for pointing out the error, @vinnievg. Fixed in 5b3ef66.

I've considered a .watch method, but the trouble is that it won't be very reliable. fs.watch has it's caveats and I've heard that this simply doesn't work for the virtual fs that the Pi exposes (not tried it myself). The alternative is to use fs.watchFile, but it's slower and less reliable, as per node's own docs.

I guess we could go with slower and less reliable, and warn people about it. What do you think?