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@2:61abc599f31f, 2014-03-24 (annotated)
- Committer:
- rhodes42
- Date:
- Mon Mar 24 10:00:54 2014 +0000
- Revision:
- 2:61abc599f31f
- Child:
- 3:743570d993aa
Working demo shifting Red Green & Blue
Who changed what in which revision?
User | Revision | Line number | New 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); |