changed this somehow
Fork of NeoStrip by
Diff: NeoStrip.h
- Revision:
- 1:cf7e969704ec
- Parent:
- 0:9f237b11f0a8
--- a/NeoStrip.h Wed Mar 12 18:36:58 2014 +0000 +++ b/NeoStrip.h Fri Apr 25 14:39:19 2014 +0000 @@ -7,6 +7,9 @@ * Library for the control of Adafruit NeoPixel addressable RGB LEDs. */ +#include "mbed.h" +#include <stdint.h> + #ifndef NEOSTRIP_H #define NEOSTRIP_H @@ -69,6 +72,12 @@ * values in separate arguments. */ void setPixel(int p, uint8_t red, uint8_t green, uint8_t blue); + + /** + * Multiply a pixel value by mask so that you can turn colored pixels on/off + * for displaying text + */ + /** * Set n pixels starting at pixel p. @@ -93,6 +102,9 @@ * at the end. */ void write(); + + + protected: NeoColor *strip; // pixel data buffer modified by setPixel() and used by neo_out()