Library and demo using the WS2812-based Neopixel strip connected to an LPC114

Dependencies:   mbed

Fork of LEDTape_WS2812 by Suga koubou

Details here: http://mbed.org/users/rhodes42/notebook/tiny-neopixel-controller-with-lpc1114/

Committer:
rhodes42
Date:
Tue Apr 08 20:56:03 2014 +0000
Revision:
3:743570d993aa
Parent:
2:61abc599f31f
added scalebrightness and changed main demo

Who changed what in which revision?

UserRevisionLine numberNew contents of line
rhodes42 2:61abc599f31f 1
rhodes42 2:61abc599f31f 2 #include <stdint.h>
rhodes42 2:61abc599f31f 3
rhodes42 2:61abc599f31f 4 void setAll(uint32_t *buffer, int n);
rhodes42 2:61abc599f31f 5 void setAllOneColor(uint32_t color, int n);
rhodes42 2:61abc599f31f 6 void shiftAllFwd(uint32_t *buffer, int n);
rhodes42 2:61abc599f31f 7 void shiftAllRev(uint32_t *buffer, int n);
rhodes42 2:61abc599f31f 8 void setEveryMod(uint32_t * buffer, uint32_t color, int mod, int start, int n);
rhodes42 3:743570d993aa 9 void scaleBrightness(uint32_t *buffer, int divider, int n);
rhodes42 3:743570d993aa 10 void setPixelRGB(int pixel, int r, int g, int b);