You are here

Sample Source Code: BlinkStick Ruby Sample Code by BlinkStick Followers

This code sample provides Ruby examples to control BlinkStick devices connected to the computer.

It contains information on the main BlinkStick class definition, displaying information of each BlinkStick, read/write info block sample, turn all BlinkSticks off, set random color to all BlinkSticks, running samples, and working with permissions problems.

Documentation on how to install the gem on various platforms is available here.

BlinkStick is a smart LED controller with integrated USB firmware. It plugs into your computer and allows control the color of individually addressable or single color LEDs and LED strips and wide range programming language implementations give you the power to control the LEDs without the need to program a microcontroller.