Skip to content

Include new branch of IRremoteESP8266 to save 21k - #582

Merged
Aircoookie merged 30 commits into
wled:masterfrom
Def3nder:IRremoteESP8266newBranch
Jan 10, 2020
Merged

Aircoookie merged 30 commits into
wled:masterfrom
Def3nder:IRremoteESP8266newBranch

Conversation

@Def3nder

Copy link
Copy Markdown
Contributor

Hi @Aircoookie , I did open an issue and talked with the author of the IRremoteESP8266 library.

He created a new branch "compile_flags" where the usage of the different modules can by selected at compile time with -D build flags.

So: no code changes at all - only platformio.ini changes that result in 21024 bytes smaller code 😄

Def3nder and others added 29 commits November 5, 2019 15:55
When adding an RGBW device to Alexa and then selecting a white color tone, Alexa will send CT values to the device. Having a warm white or cold white strip should use 100% of that strip and then add the RGB colors to get either a warmer color or a colder one.
Added IR remote with 40 keys to use with RGBW stripes.
...not implemented for ESP32 yet
ESP32 Solid RGBW defines

moved from env:esp32dev to env:esp32
ESP32 Solid RGBW defines
Update readme.md
To turn off IR remote use "0" in the settings, use 1 to 4 for different IR remote types.
adapt the logic to use CW and WW for different CT-values
Changed code from #define WLED_DISABLE_ANALOG_LEDS to #define WLED_USE_ANALOG_LEDS
NightLight used to brighten the light combined with fading from the actual (primary) color to the secondary color
RLYPIN definition dependant on WLED_USE_ANALOG_LEDS

Corrected list-item indents (readme.md)

updated to match upstream master (briLast in wled00.ino)
RLYPIN definition dependant on WLED_USE_ANALOG_LEDS

Fixed headline and corrected list-item indents (readme.md)

updated to match upstream master (briLast in wled00.ino)
...where the used functions can be controlled with -D build_flags.

This saves 21024 bytes of program space 😄
...where the used functions can be controlled with -D build_flags.

This saves 21024 bytes of program space 😄
changed to the new branch version

(this was the prove test with the old v2.7.2)
@Def3nder
Def3nder force-pushed the IRremoteESP8266newBranch branch from fbaea16 to 13e84b0 Compare January 10, 2020 14:20
@Aircoookie

Copy link
Copy Markdown
Member

Awesome, thank you for sorting that out! :)

@Aircoookie
Aircoookie merged commit a7a1002 into wled:master Jan 10, 2020
aenertia pushed a commit to aenertia/WLED that referenced this pull request Aug 18, 2026
aenertia pushed a commit to aenertia/WLED that referenced this pull request Aug 18, 2026
Include new branch of IRremoteESP8266 to save 21k (wled#582)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants