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.
Spark Devices just launched on Kickstarter and offers investors of $49 and above a free Spark Socket--the flagship product that connects standard light bulbs to the internet. Once a light bulb connects to the internet via the Spark Socket, consumers can control the light through an app (e.g. turn on and off, dim, monitor use, etc.). Additionally, Spark Devices has released Spark Devices API that allows developers to integrate light control into third party apps or websites.
Last month, ProgrammableWeb caught up with Alessandro Usseglio Viretta of CR8 • CREATE who deployed the first 3D printing API on Mashape. Three-dimensional printing continues to dominate headlines and cause disruption. As we close 2013, PW followed up with Viretta to discuss his API and get some insight into an emerging technology that is bound to stir the waters in 2014.