FastLED 3.9.15
Loading...
Searching...
No Matches
FastLED.cpp.hpp File Reference
#include <stdint.h>
#include "FastLED.h"
#include "fl/system/engine_events.h"
#include "fl/stl/compiler_control.h"
#include "fl/channels/all_drivers.h"
#include "fl/channels/channel.h"
#include "fl/channels/channel_events.h"
#include "fl/channels/manager.h"
#include "fl/system/trace.h"
#include "fl/channels/driver.h"
#include "fl/channels/detail/wait_spin_budget.h"
#include "fl/system/delay.h"
#include "fl/system/yield.h"
#include "fl/system/sketch_macros.h"
#include "fl/log/log.h"
#include "fl/stl/assert.h"
#include "fl/audio/audio_manager.h"
#include "hsv2rgb.h"
#include "fl/stl/int.h"
#include "platforms/init.h"
#include "fl/channels/config.h"
#include "fl/stl/singleton.h"
#include "platforms/is_platform.h"
+ Include dependency graph for FastLED.cpp.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define FASTLED_INTERNAL
 
#define FASTLED_NO_ATEXIT   0
 
#define MAX_CLED_CONTROLLERS   64
 

Functions

FL_LINK_WEAK int atexit (void(*)())
 
void delay_at_max_brightness_for_power (fl::u16 ms)
 Similar to CFastLED::delay(), but pre-adjusts brightness to keep below the power threshold.
 
fl::u8 get_brightness ()
 
void set_max_power_in_milliwatts (fl::u32 powerInmW)
 Set the maximum power used in watts.
 
void set_max_power_in_volts_and_milliamps (fl::u8 volts, fl::u32 milliamps)
 Set the maximum power used in milliamps for a given voltage.
 
void show_at_max_brightness_for_power ()
 Similar to CFastLED::show(), but pre-adjusts brightness to keep below the power threshold.
 

Variables

fl::u32 _frame_cnt =0
 Global frame counter, used for debugging ESP implementations.
 
fl::u32 _retry_cnt =0
 Global frame retry counter, used for debugging ESP implementations.
 
FL_DISABLE_WARNING_PUSH FL_DISABLE_WARNING_GLOBAL_CONSTRUCTORS CFastLED FastLED
 Global LED strip management instance.
 
static void * gControllersData [MAX_CLED_CONTROLLERS]
 
static fl::u32 lastshow = 0
 
int noise_max
 Unused value.
 
int noise_min
 Unused value.
 
void * pSmartMatrix = nullptr
 Pointer to the matrix object when using the Smart Matrix Library.