FastLED 3.9.15
Loading...
Searching...
No Matches
fl::Leds Class Reference

Detailed Description

Definition at line 13 of file leds.h.

#include <leds.h>

+ Inheritance diagram for fl::Leds:
+ Collaboration diagram for fl::Leds:

Public Member Functions

 Leds (const Leds &) FL_NOEXCEPT=default
 
 Leds (CRGB *leds, const XYMap &xymap)
 
 Leds (CRGB *leds, u16 width, u16 height)
 
 Leds (Leds &&) FL_NOEXCEPT=default
 
CRGB & at (int x, int y)
 
const CRGB & at (int x, int y) const
 
void fill (const CRGB &color)
 
fl::size height () const
 
 operator const CRGB * () const
 
 operator CRGB * ()
 
CRGB & operator() (int x, int y)
 
const CRGB & operator() (int x, int y) const
 
Leds & operator= (const Leds &) FL_NOEXCEPT=default
 
CRGB * operator[] (int x)
 
const CRGB * operator[] (int x) const
 
fl::span< CRGB > rgb ()
 
fl::span< const CRGB > rgb () const
 
fl::size width () const
 
const XYMap & xymap () const
 

Static Protected Member Functions

static CRGB & empty ()
 

Protected Attributes

fl::span< CRGB > mLeds
 
XYMap mXyMap
 

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