With yesterday’s blog post about LED projects, we thought it might be a good idea to bring back this quick guide on running addressable LEDs on the chipKIT uC32. Specifically, the WS2812 LED strip by using a library.
The Adafruit Neopixel library has made addressable LEDs like the WS2812 and WS2811 very popular. One of my friends introduced me to the WS2812 LEDs on an Arduino project that showed interesting patterns in the trim of a Santa hat. I later learned that there was not a port of the AVR assembly dependent library for the PIC32. A co-worker of mine produced an inventive solution to producing the data stream but it only works with the chipKIT Max32 and WF32. I wanted to run the WS2812 LEDs on a cheaper and smaller form-factor board for wearable projects.
Phil Burgess and the open-source community did such a wonderful job with the Neopixel library that I ported the library with a couple changes and added patterns from my good friend Brian Thomas. Please enjoy the PICxel library.