http://pi.gadgetoid.com/article/wiringpi-as-a-ruby-gem
require 'wiringpi' WiringPi.mode(1,OUTPUT) WiringPi.write(1,HIGH) WiringPi.read(1)