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:
- Rick Waldron creator of johnny-five
- Chris Williams creator of node-serialport
- Julian Gautier creator firmata
Prerequisites
- Download and install the Arduio IDE for your OS
- Download and unzip Firmata 2.2
- Plug in your Arduino via USB
- Open the Arduino IDE, select: File > Open > [Path from step 2] > examples > StandardFirmata
- 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
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request