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

Dependencies:   mbed

Fork of LEDTape_WS2812 by Suga koubou

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers LEDStripFunctions.h Source File

LEDStripFunctions.h

00001 
00002 #include <stdint.h>
00003 
00004 void setAll(uint32_t *buffer, int n);
00005 void setAllOneColor(uint32_t color, int n);
00006 void shiftAllFwd(uint32_t *buffer, int n);
00007 void shiftAllRev(uint32_t *buffer, int n);
00008 void setEveryMod(uint32_t * buffer, uint32_t color, int mod, int start, int n);
00009 void scaleBrightness(uint32_t *buffer, int divider, int n);
00010 void setPixelRGB(int pixel, int r, int g, int b);