You are here

Sample Source Code: BlinkStick Python Sample Code by BlinkStick Followers

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.