Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Example AVR code for addressable RGB LED strips from Pololu

branch: master
README.textile

Example AVR code for addressable RGB LED strips from Pololu

www.pololu.com

Summary

This is example AVR C code for controlling the addressable RGB LED strips from Pololu:

If you have a high-speed TM1804 LED strip, please note that the red and green channels on the TM1804 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.