API for the LPD8806 RGB LED Strip Controller.  
 More...
- ID: lpd8806 
 
- Name: LPD8806 RGB LED Strip Controller 
 
- Category: led 
 
- Manufacturer: adafruit 
 
- Connection: spi
 
FastPixel* LPD8806 is an RGB LED strip controller.
 
    usleep (1000000);
    sensor->show ();
    while (!doWork) {
        
        scanner(127, 0, 0, 30);        
        scanner(0, 0, 127, 15);        
        usleep (1000000);
    }
  
      
        
          | LPD8806  | 
          ( | 
          uint16_t  | 
          pixelCount,  | 
        
        
           | 
           | 
          uint8_t  | 
          csn  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Instantiates an LPD8806 object
- Parameters
 - 
  
    | pixelCount | Number of pixels in the strip  | 
    | csn | Chip select pin  | 
  
   
 
 
LPD8806 object destructor; basically, it frees the allocated pixel buffer. 
 
 
      
        
          | void setPixelColor  | 
          ( | 
          uint16_t  | 
          pixelOffset,  | 
        
        
           | 
           | 
          uint8_t  | 
          r,  | 
        
        
           | 
           | 
          uint8_t  | 
          g,  | 
        
        
           | 
           | 
          uint8_t  | 
          b  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
- Parameters
 - 
  
    | pixelOffset | Pixel offset in the strip of the pixel  | 
    | r | Red LED  | 
    | g | Green LED  | 
    | b | Blue LED  | 
  
   
 
 
Writes the data stored in the array of pixels to the chip 
 
 
      
        
          | uint16_t getStripLength  | 
          ( | 
          void  | 
           | ) | 
           | 
        
      
 
Returns the length of the LED strip 
 
 
Returns the name of the component 
 
 
The documentation for this class was generated from the following files:
- /var/lib/jenkins/workspace/upm-doc-stable/src/lpd8806/lpd8806.h
 
- /var/lib/jenkins/workspace/upm-doc-stable/src/lpd8806/lpd8806.cxx