DHaylock / artoo-neopixel

Add Neopixel support to Artoo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

artoo-neopixel

Add support for http://www.adafruit.com/neopixel to http://artoo.io.

Prerequisites

Upload custom Firmata

You must upload an extended version of the "standard Firmata" that includes NeoPixel integration. One is included with this project. Open the ino in the Arduino IDE and upload it to your device.

Install

Install the NeoPixel extensions:

$ gem install artoo-neopixel

OR

Add the gem to your Gemfile:

gem "artoo-neopixel"

Run the example

NeoPixels

Here is a simple example program. It assumes you have a single NeoPixel attached to pin 6 and strobes lot's of random colors at you:

Note: You must update the example to reference the port your Arduino is attached to!

ruby example-neopixel.rb

NeoMatrix

Here is a simple example program. It assumes you have a single NeoMatrix attached to pin 6 and strobes lot's of random colors at you:

Note: You must update the example to reference the port your Arduino is attached to!

ruby example-neomatrix.rb

Known Issues

  • Currently the library only supports a single pixel-strip and matrix. iamvery#1

About

Add Neopixel support to Artoo


Languages

Language:Arduino 82.3%Language:Ruby 17.7%