Project

wall_e

0.0
No commit activity in last 3 years
No release in over 3 years
A Firmata based Arduino library
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 3.3.0

Runtime

~> 0.1.0
~> 0.9.10
 Project Readme

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