Routines to drive a chain of APA102 Leds.

Fork of APA102 by Joel Rosiene

A library to drive arrays of APA102 leds.

Files at this revision

API Documentation at this revision

Comitter:
rosienej
Date:
Wed Mar 11 14:13:13 2015 +0000
Parent:
0:2fd584b4a9b8
Child:
2:b8dc9a84801c
Commit message:
Formatting

Changed in this revision

APA102.h Show annotated file Show diff for this revision Revisions of this file
--- a/APA102.h	Wed Mar 11 14:03:02 2015 +0000
+++ b/APA102.h	Wed Mar 11 14:13:13 2015 +0000
@@ -16,7 +16,7 @@
  
  class APA102{
   public:
-   /** Create an APA102 object connected to the specified mosi,miso,sclk pins
+/** Create an APA102 object connected to the specified mosi,miso,sclk pins
     *
     * @param mosi : SPI Master Out Slave In pin
     * @param miso : SPI Master In Slave Out pin (ignored)
@@ -25,7 +25,7 @@
     */
      APA102(PinName mosi,PinName miso,PinName sclk,int rate);
        
-     /** Set the Buffer
+/** Set the Buffer
      *
      * @param buffer[] : a buffer of unsigned integers (4 bytes) *Rows*Stride in size
      * @param Rows     : Number of Rows
@@ -37,7 +37,7 @@
      */
      void SetBuffer(unsigned int Buffer[],int Rows,int Cols, int Stride,int Offset, bool ZigZag,bool Wrap); 
      
-    /** Repaint the Strip
+/** Repaint the Strip
      *
      * @param none
      */