Lamp-Da 0.1
A compact lantern project
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
Adafruit_NeoPixel Class Reference
Inheritance diagram for Adafruit_NeoPixel:
lampda::physical::LedStrip

Public Member Functions

 Adafruit_NeoPixel (size_t n, int16_t pin, neoPixelType t)
 
void begin ()
 
void show ()
 
uint8_t getBrightness () const
 
void setBrightness (uint8_t b)
 Implementation similar to Adafruit led strip.
 
void setPixelColor (uint16_t n, uint32_t c)
 
uint32_t getPixelColor (uint16_t n) const
 

Public Attributes

bool begun
 true if begin() previously called
 
uint16_t numLEDs
 Number of RGB LEDs in strip.
 
uint16_t numBytes
 Size of 'pixels' buffer below.
 
uint8_t brightness
 Strip brightness 0-255 (stored as +1)
 
uint8_t * pixels
 Holds LED color values (3 or 4 bytes each)
 
uint8_t rOffset
 Red index within each 3- or 4-byte pixel.
 
uint8_t gOffset
 Index of green byte.
 
uint8_t bOffset
 Index of blue byte.
 
uint8_t wOffset
 Index of white (==rOffset if no white)
 

Member Function Documentation

◆ show()

void Adafruit_NeoPixel::show ( )
inline

Cannot implement here, simulator handles this


The documentation for this class was generated from the following file: