0.01
No commit activity in last 3 years
No release in over 3 years
This library extends http://artoo.io to support http://www.adafruit.com/neopixel.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0.9
~> 10.4

Runtime

 Project Readme

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. #1