FastLED 3.9.15
Loading...
Searching...
No Matches
fl::LedsXY< W, H > Class Template Reference

Detailed Description

template<size_t W, size_t H>
class fl::LedsXY< W, H >

Definition at line 56 of file leds.h.

#include <leds.h>

+ Inheritance diagram for fl::LedsXY< W, H >:
+ Collaboration diagram for fl::LedsXY< W, H >:

Public Member Functions

 LedsXY ()
 
 LedsXY (bool is_serpentine)
 
 LedsXY (const LedsXY &)=default
 
LedsXYoperator= (const LedsXY &)=default
 
void setSerpentine (bool is_serpentine)
 
void setXyMap (const XYMap &xymap)
 
- Public Member Functions inherited from fl::Leds
 Leds (const Leds &)=default
 
 Leds (CRGB *leds, const XYMap &xymap)
 
 Leds (CRGB *leds, uint16_t width, uint16_t height)
 
 Leds (Leds &&)=default
 
CRGBat (int x, int y)
 
const CRGBat (int x, int y) const
 
void fill (const CRGB &color)
 
size_t height () const
 
 operator const CRGB * () const
 
 operator CRGB * ()
 
CRGBoperator() (int x, int y)
 
const CRGBoperator() (int x, int y) const
 
Ledsoperator= (const Leds &)=default
 
CRGBoperator[] (int x)
 
const CRGBoperator[] (int x) const
 
CRGBrgb ()
 
const CRGBrgb () const
 
size_t width () const
 
const XYMapxymap () const
 

Private Attributes

CRGB mLeds [W *H] = {}
 

Additional Inherited Members

- Static Protected Member Functions inherited from fl::Leds
static CRGBempty ()
 
- Protected Attributes inherited from fl::Leds
CRGBmLeds
 
XYMap mXyMap
 

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