Library and demo using the WS2812-based Neopixel strip connected to an LPC114
Fork of LEDTape_WS2812 by
Details here: http://mbed.org/users/rhodes42/notebook/tiny-neopixel-controller-with-lpc1114/
LEDStripFunctions.h
- Committer:
- rhodes42
- Date:
- 2014-04-08
- Revision:
- 3:743570d993aa
- Parent:
- 2:61abc599f31f
File content as of revision 3:743570d993aa:
#include <stdint.h> void setAll(uint32_t *buffer, int n); void setAllOneColor(uint32_t color, int n); void shiftAllFwd(uint32_t *buffer, int n); void shiftAllRev(uint32_t *buffer, int n); void setEveryMod(uint32_t * buffer, uint32_t color, int mod, int start, int n); void scaleBrightness(uint32_t *buffer, int divider, int n); void setPixelRGB(int pixel, int r, int g, int b);