Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Example AVR code for addressable RGB LED strips from Pololu
C Makefile
Branch: master

Added compatability for 8MHz clock speeds

Changes are based off of the pololu arduino library, which had 8MHz support.
latest commit bc63057ea7
@tyzoid tyzoid authored

README.textile

Example AVR code for addressable RGB LED strips from Pololu

www.pololu.com

Summary

This is example AVR C code for controlling these addressable RGB LED products from Pololu:

This example code is optimized for the WS2812B, so it transmits the colors in green-red-blue order.

If you have a WS2811 LED or a high-speed TM1804 LED strip, please note that its red and green channels are swapped relative to the WS2812B, so you will need to swap those channels in your code. You might prefer to use the version of this code from commit 96bee54 (committed on 2013-10-10), which does not require you to swap red and green.

This version of the code does NOT work with the older, low-speed TM1804 strips (items #2540, #2541, and #2542). If you have one of those, you should use the version of this code from commit edc9e9d (committed on 2013-05-09).

This code allows complete control over the color of an arbitrary number of LED strips with an arbitrary number of LEDs. Each LED can be individually controlled, and LED strips can be chained together.

For more details, see led_strip.c.

Something went wrong with that request. Please try again.