FastLED 3.9.15
Loading...
Searching...
No Matches

◆ operator-()

template<class PIXEL_TYPE>
CPixelView CPixelView< PIXEL_TYPE >::operator- ( )
inline

Return the reverse ordering of this set.

Definition at line 121 of file pixelset.h.

121{ return CPixelView(leds, len - dir, 0); }
PIXEL_TYPE *const leds
pointer to the LED data
Definition pixelset.h:72
const int8_t dir
direction of the LED data, either 1 or -1. Determines how the pointer is incremented.
Definition pixelset.h:69
const int len
length of the LED data, in PIXEL_TYPE units.
Definition pixelset.h:70
CPixelView(const CPixelView &other)
PixelSet copy constructor.
Definition pixelset.h:77