Wall·E

Ruby powered robots.

Shout-outs

Wall·E would not have been possible if not for the awesome goings on in the Node community. Big props to:

Prerequisites

  1. Download and install the Arduio IDE for your OS
  2. Download and unzip Firmata 2.2
  3. Plug in your Arduino via USB
  4. Open the Arduino IDE, select: File > Open > [Path from step 2] > examples > StandardFirmata
  5. Click the Upload button

Installation

Add this line to your application's Gemfile:

gem 'wall_e'

And then execute:

$ bundle

Or install it yourself as:

$ gem install wall_e

Usage

require 'wall_e'

WallE::Assembler.build do

  led = Led(3)
  rate = 0.75

  repeat do
    led.toggle
    delay rate
  end

end

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request