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

◆ addLeds() [1/16]

template<template< uint8_t DATA_PIN > class CHIPSET, uint8_t DATA_PIN>
static CLEDController & CFastLED::addLeds ( class fl::Leds & leds,
int nLedsOrOffset,
int nLedsIfOffset = 0 )
inlinestatic

Definition at line 588 of file FastLED.h.

588 {
589 CRGB* rgb = leds;
590 return addLeds<CHIPSET, DATA_PIN>(rgb, nLedsOrOffset, nLedsIfOffset);
591 }
CRGB * leds()
Get a pointer to led data for the first controller.
Definition FastLED.cpp:88
static CLEDController & addLeds(CLEDController *pLed, struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset=0)
Add a CLEDController instance to the world.
Definition FastLED.cpp:92

References addLeds(), and leds().

+ Here is the call graph for this function: