You are here

BlinkStick API - Sample Source Code

The Blinkstick API allows changing the color or the publicly available Blinkstick device via HTTP GET request. You can use any web browser to send a request, curl utility on Unix operating systems or any other application that supports sending HTTP requests.

BlinkStick is 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.

It acts as a HID (Human Interface Device) and does not need any additional drivers. It uses ATTiny85 microcontroller with V-USB firmware.

The following is a list of sample source code snippets that matched your search term. Source code snippets are chunks of source code that were found out on the Web that you can cut and paste into your own source code. Whereas most of the sample source code we've curated for our directory is for consuming APIs, we occasionally find something interesting on the API provider side of things. If you know of some sample source code that would be of interest to the ProgrammableWeb community, we'd like to know about it. Be sure to check our guidelines for making contributions to ProgrammableWeb.

These code sample provides an interface to control Blinkstick devices connected to your computer with Node.js.
Included are: general requirements, requirements for Mac OSX, Windows, and Linux, information about Raspberry Pi, installing the BlinkStick node module, getting started, and working with permission issues on Linux.
Additional details and examples are available on the BlinkStick Node wiki.
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.

This is an officially supported BlinkStick sample code implementation for Microsoft.NET/Mono frameworks, complete withan examples folder within source repository containing all examples ready to compile and run.
The code samples will allow you to execute the following functions on both BlinkStick and BlinkStick Pro: Get Information About BlinkStick, Find By Serial Number, Set Random Color, Turn BlinkStick Off, Blink Color, Morph to Color, Pulse Color, and Monitor when BlinkStick is connected or disconnected.
Also included, are the following for ode samples only for BlinkStick Pro: Set Indexed Colors and Send Color Frame
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.

This group of sample source codes will allow you to use Python to control your BlinkStick. The BlinkStick Python module comes with command line tool which is automatically installed to Linux and OSX platforms.
Information about BlinkStick and the following set of examples are avaiable: Find by Serial Number, Turn BlinkStick off, Set random color, Access infoblocks, Display CPU usage, Control Remotely, MQTT, Check Gmail, and Display Internet connectivity status.
The following sample source codes are provided for the BlinkStick Pro: Set Mode, Change Color of a Single LED, Run single pixel on all LEDs connected to a channel, and Display analogue clock on 16 LED ring.
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.