FastLED 3.9.3
Loading...
Searching...
No Matches
FastLED.cpp File Reference

Detailed Description

Central source file for FastLED, implements the CFastLED class/object.

Definition in file FastLED.cpp.

#include "FastLED.h"
#include "singleton.h"
#include "engine_events.h"

Go to the source code of this file.

Macros

#define FASTLED_INTERNAL
 
#define MAX_CLED_CONTROLLERS   64
 

Functions

uint16_t cled_contoller_size ()
 
uint8_t get_brightness ()
 
int atexit (void(*)())
 Called at program exit when run in a desktop environment.
 
void yield (void)
 

Variables

void * pSmartMatrix = NULL
 Pointer to the matrix object when using the Smart Matrix Library.
 
CFastLED FastLED
 Global LED strip management instance.
 
uint32_t _frame_cnt =0
 Global frame counter, used for debugging ESP implementations.
 
uint32_t _retry_cnt =0
 Global frame retry counter, used for debugging ESP implementations.
 
int noise_min
 Unused value.
 
int noise_max
 Unused value.
 

Macro Definition Documentation

◆ FASTLED_INTERNAL

#define FASTLED_INTERNAL

Definition at line 1 of file FastLED.cpp.

◆ MAX_CLED_CONTROLLERS

#define MAX_CLED_CONTROLLERS   64

Definition at line 13 of file FastLED.cpp.

Function Documentation

◆ atexit()

int atexit ( void(*  )())

Called at program exit when run in a desktop environment.

Extra C definition that some environments may need.

Returns
0 to indicate success

Definition at line 305 of file FastLED.cpp.

◆ cled_contoller_size()

uint16_t cled_contoller_size ( )

Definition at line 23 of file FastLED.cpp.

◆ get_brightness()

uint8_t get_brightness ( )

Definition at line 298 of file FastLED.cpp.

◆ yield()

void yield ( void )

Definition at line 306 of file FastLED.cpp.

Variable Documentation

◆ _frame_cnt

uint32_t _frame_cnt =0

Global frame counter, used for debugging ESP implementations.

Todo
Include in FASTLED_DEBUG_COUNT_FRAME_RETRIES block?

Definition at line 41 of file FastLED.cpp.

◆ _retry_cnt

uint32_t _retry_cnt =0

Global frame retry counter, used for debugging ESP implementations.

Todo
Include in FASTLED_DEBUG_COUNT_FRAME_RETRIES block?

Definition at line 45 of file FastLED.cpp.

◆ FastLED

◆ noise_max

int noise_max
extern

Unused value.

Todo
Remove?

◆ noise_min

int noise_min
extern

Unused value.

Todo
Remove?

◆ pSmartMatrix

void* pSmartMatrix = NULL

Pointer to the matrix object when using the Smart Matrix Library.

See also
https://github.com/pixelmatix/SmartMatrix
Examples
SmartMatrix.ino.

Definition at line 31 of file FastLED.cpp.