Closed mikegabriel closed 11 years ago
Any chance this one and #7 (and eventually others) get reviewed by @Gadgetoid and get merged in ?
I've actually got a complete replacement for WiringPi-Ruby in the works based on WiringPi2. It's a lot more complete, will be better supported ( I really, really dropped the ball on these but I had good reason ) and generally more awesome. However I will merge this, as it makes sense to do so.
With WiringPi2 I've been prioritising Python, even though Ruby is my preferred language. Sorry!
Thanks @Gadgetoid ! Seems that WiringPI2-Ruby is not yet on GH, right ?
Sadly not, but soon!
Set your pin as an input and then run pullUpDnControl with PUD_OFF, PUD_DOWN or PUD_UP.