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

Detailed Description

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

Definition at line 60 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 () FL_NO_EXCEPT
 
 LedsXY (bool is_serpentine) FL_NO_EXCEPT
 
 LedsXY (const LedsXY &) FL_NO_EXCEPT=default
 
LedsXY & operator= (const LedsXY &) FL_NO_EXCEPT=default
 
void setSerpentine (bool is_serpentine) FL_NO_EXCEPT
 
void setXyMap (const XYMap &xymap) FL_NO_EXCEPT
 
- Public Member Functions inherited from fl::Leds
 Leds (const Leds &) FL_NO_EXCEPT=default
 
 Leds (CRGB *leds, const XYMap &xymap) FL_NO_EXCEPT
 
 Leds (CRGB *leds, u16 width, u16 height) FL_NO_EXCEPT
 
 Leds (Leds &&) FL_NO_EXCEPT=default
 
const CRGB & at (int x, int y) const FL_NO_EXCEPT
 
CRGB & at (int x, int y) FL_NO_EXCEPT
 
void fill (const CRGB &color) FL_NO_EXCEPT
 
fl::size height () const FL_NO_EXCEPT
 
 operator const CRGB * () const FL_NO_EXCEPT
 
 operator CRGB * () FL_NO_EXCEPT
 
const CRGB & operator() (int x, int y) const FL_NO_EXCEPT
 
CRGB & operator() (int x, int y) FL_NO_EXCEPT
 
Leds & operator= (const Leds &) FL_NO_EXCEPT=default
 
const CRGB * operator[] (int x) const FL_NO_EXCEPT
 
CRGB * operator[] (int x) FL_NO_EXCEPT
 
fl::span< const CRGB > rgb () const FL_NO_EXCEPT
 
fl::span< CRGB > rgb () FL_NO_EXCEPT
 
fl::size width () const FL_NO_EXCEPT
 
const XYMap & xymap () const FL_NO_EXCEPT
 

Private Attributes

CRGB mLedsData [W *H] = {}
 

Additional Inherited Members

- Static Protected Member Functions inherited from fl::Leds
static CRGB & empty () FL_NO_EXCEPT
 
- Protected Attributes inherited from fl::Leds
fl::span< CRGB > mLeds
 
XYMap mXyMap
 

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