h1. Subduino Talks to arduino using cool stuff. http://github.com/nofxx/subduino h2. Install gem install subduino h3. Requirements * "Arduino":http://arduino.cc * "serialport":http://github.com/hparra/ruby-serialport * "redis":http://github.com/ezmobius/redis-rb h2. Use
Subduino.start do |reading|
puts "Received from arduino: #{reading}"
# Mail.send("foo@bla.com") if reading && reading.digital?
# Postgre.remember(:sensor => reading)
end
Subduino.write(TXT)
h2. Contributing
Fork/work/push.
h3. Author
nofxx
h3. License
"WTFPL":http://sam.zoy.org/wtfpl/