Class available to make using NeoPixel lights very simple

Dependencies:   PixelArray

Dependents:   NeoPixelEasy

Revision:
6:2d59dae9531d
Parent:
5:f9b8a3a241b1
--- a/easyNeo.h	Sun Feb 15 21:25:38 2015 +0000
+++ b/easyNeo.h	Sun Feb 15 21:32:03 2015 +0000
@@ -13,32 +13,27 @@
     /**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);
+    /** Will go through a test of all colors at all intensity levels
+        to ensure proper operation.
+      */
+    void lightTest();
     
-    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.
+        Ex: FF000000FF000000FF would set a string of three lights to Red, Green, 
+        and then Blue respectivly at the highest intensity for each.
       * @param hexString above mentioned string.
       */
     void setByHex(char*);
     
+    /** Clear all formatting on NeoPix. Good to use before trying to
+        set new values.
+      */
     void clear();
     
+    void setPixel(neopixel::Pixel * buffer, uint32_t, uint8_t, uint8_t, uint8_t, uint32_t);
+    void setByColor(int ledNum, char* color);
     void update(neopixel::Pixel * buffer);
-    
     uint8_t c2i(char );
-    int ConfigMode();
-    /** Gets the serial number/mac address of the Xbee and places it into serial_no.
-      * @param serial_no array to store the serial of Xbee (must be 8 long).
-      * @return Returns 1 on success.
-      */
-    int GetSerial(int*);
-    /** Sets the encryption key. This should be a 128-bit key.
-      * @param key Pointer to the network key to set.
-      * @return Returns 1 on success.
-      */
 };
\ No newline at end of file