FastLED 3.9.7
|
#include <stdint.h>
#include <SmartMatrix.h>
#include <OctoWS2811.h>
#include "fl/force_inline.h"
#include "cpp_compat.h"
#include "fastled_config.h"
#include "led_sysdefs.h"
#include "fastled_delay.h"
#include "bitswap.h"
#include "controller.h"
#include "fastpin.h"
#include "fastspi_types.h"
#include "dmx.h"
#include "platforms.h"
#include "fastled_progmem.h"
#include "lib8tion.h"
#include "pixeltypes.h"
#include "hsv2rgb.h"
#include "colorutils.h"
#include "pixelset.h"
#include "colorpalettes.h"
#include "noise.h"
#include "power_mgt.h"
#include "fastspi.h"
#include "chipsets.h"
#include "fl/engine_events.h"
Go to the source code of this file.
Macros | |||||||||||||||||
#define | __INC_FASTSPI_LED2_H | ||||||||||||||||
#define | FASTLED_VERSION 3009007 | ||||||||||||||||
Current FastLED version number, as an integer. | |||||||||||||||||
#define | __PROG_TYPES_COMPAT__ | ||||||||||||||||
avr-libc define to expose progmem typedefs. | |||||||||||||||||
#define | NUM_CONTROLLERS 8 | ||||||||||||||||
Unknown NUM_CONTROLLERS definition. | |||||||||||||||||
#define | FastSPI_LED FastLED | ||||||||||||||||
Alias of the FastLED instance for legacy purposes. | |||||||||||||||||
#define | FastSPI_LED2 FastLED | ||||||||||||||||
Alias of the FastLED instance for legacy purposes. | |||||||||||||||||
#define | NO_HARDWARE_PIN_SUPPORT | ||||||||||||||||
If no pin/port mappings are found, sends a warning message to the user during compilation. | |||||||||||||||||
Adding SPI-based controllers | |||||||||||||||||
Add an SPI based CLEDController instance to the world. There are two ways to call this method (as well as the other addLeds() variations). The first is with 2 arguments, in which case the arguments are a pointer to led data, and the number of leds used by this controller. The second is with 3 arguments, in which case the first argument is the same, the second argument is an offset into the CRGB data where this controller's CRGB data begins, and the third argument is the number of leds for this controller object.
| |||||||||||||||||
#define | _FL_MAP_CLOCKED_CHIPSET(CHIPSET_ENUM, CONTROLLER_CLASS) | ||||||||||||||||
Typedefs | |
typedef uint8_t(* | power_func) (uint8_t scale, uint32_t data) |
Typedef for a power consumption calculation function. | |
Enumerations | |
enum | ESPIChipsets { LPD6803 , LPD8806 , WS2801 , WS2803 , SM16716 , P9813 , APA102 , SK9822 , SK9822HD , DOTSTAR , DOTSTARHD , APA102HD } |
LED chipsets with SPI interface. More... | |
enum | ESM { SMART_MATRIX } |
Smart Matrix Library controller type. More... | |
enum | OWS2811 { OCTOWS2811 , OCTOWS2811_400 , OCTOWS2813 } |
Octo WS2811 LED Library controller types. More... | |
enum | SWS2812 { WS2812SERIAL } |
WS2812Serial Library controller type. More... | |
enum | EBlockChipsets |
Blockless output port enum. More... | |
Functions | |
uint16_t | cled_contoller_size () |
Variables | |
CFastLED | FastLED |
Global LED strip management instance. | |
#define __PROG_TYPES_COMPAT__ |
avr-libc define to expose progmem typedefs.
#define _FL_MAP_CLOCKED_CHIPSET | ( | CHIPSET_ENUM, | |
CONTROLLER_CLASS ) |
#define FASTLED_VERSION 3009007 |
#define FastSPI_LED FastLED |
#define FastSPI_LED2 FastLED |
#define NO_HARDWARE_PIN_SUPPORT |
#define NUM_CONTROLLERS 8 |
typedef uint8_t(* power_func) (uint8_t scale, uint32_t data) |
Typedef for a power consumption calculation function.
Used within CFastLED for rescaling brightness before sending the LED data to the strip with CFastLED::show().
scale | the initial brightness scale value |
data | max power data, in milliwatts |
enum EBlockChipsets |
enum ESM |
Smart Matrix Library controller type.
enum ESPIChipsets |
LED chipsets with SPI interface.
enum OWS2811 |
Octo WS2811 LED Library controller types.
enum SWS2812 |
WS2812Serial Library controller type.
uint16_t cled_contoller_size | ( | ) |
Definition at line 35 of file FastLED.cpp.
|
extern |
Global LED strip management instance.
Definition at line 45 of file FastLED.cpp.