Class available to make using NeoPixel lights very simple
Diff: easyNeo.h
- Revision:
- 3:fb34ddc9441f
- Parent:
- 1:f401535caf70
- Child:
- 4:3a9cfb1ab658
--- a/easyNeo.h Sun Feb 15 21:17:10 2015 +0000 +++ b/easyNeo.h Sun Feb 15 21:21:08 2015 +0000 @@ -13,12 +13,17 @@ /**Configure simple with the number of lights in the series*/ easyNeo(int numLeds); + void setPixel(neopixel::Pixel * buffer, uint32_t, uint8_t, uint8_t, uint8_t, uint32_t); void lightTest(); - + void setByColor(int ledNum, char* color); - + /** Set the colors of the lights with a continuous hex string + String should have 6 hex characters for each light corresponding + to their R,G and then B vlues you wish to set. + * @param hexString above mentioned string. + */ void setByHex(char*); void clear();