6 #include "pixeltypes.h"
8 FASTLED_NAMESPACE_BEGIN
Representation of an RGB pixel (Red, Green, Blue)
uint8_t calculate_max_brightness_for_power_vmA(const CRGB *ledbuffer, uint16_t numLeds, uint8_t target_brightness, uint32_t max_power_V, uint32_t max_power_mA)
calculate_max_brightness_for_power_mW tells you the highest brightness level you can use and still st...
void set_max_power_in_volts_and_milliamps(uint8_t volts, uint32_t milliamps)
Set the maximum power used in milliamps for a given voltage.
void delay_at_max_brightness_for_power(uint16_t ms)
Similar to FastLED.delay, but pre-adjusts brightness to keep below the power threshold.
void set_max_power_indicator_LED(uint8_t pinNumber)
Select a ping with an led that will be flashed to indicate that power management is pulling down the ...
uint8_t calculate_max_brightness_for_power_mW(const CRGB *ledbuffer, uint16_t numLeds, uint8_t target_brightness, uint32_t max_power_mW)
calculate_max_brightness_for_power_mW tells you the highest brightness level you can use and still st...
uint32_t calculate_unscaled_power_mW(const CRGB *ledbuffer, uint16_t numLeds)
calculate_unscaled_power_mW tells you how many milliwatts the current LED data would draw at brightne...
central include file for FastLED, defines the CFastLED class/object
void show_at_max_brightness_for_power()
Similar to FastLED.show, but pre-adjusts brightness to keep below the power threshold.
void set_max_power_in_milliwatts(uint32_t powerInmW)
Set the maximum power used in watts.