Class available to make using NeoPixel lights very simple
Diff: easyNeo.h
- Revision:
- 1:f401535caf70
- Parent:
- 0:cfbe334f4b1c
- Child:
- 3:fb34ddc9441f
--- a/easyNeo.h Sun Feb 15 21:12:13 2015 +0000 +++ b/easyNeo.h Sun Feb 15 21:15:24 2015 +0000 @@ -4,14 +4,13 @@ #include "mbed.h" #include "neopixel.h" -/** Xbee interface class for configuring, sending and recieving data using an Xbee */ +/** Interface to work with Adafruit NeoPixel lights */ class easyNeo { private: int numLeds; public: - /** Configure serial data pin and number of LEDs - */ + /**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);