Skip to content

Conversation

@Tifaifai
Copy link

Hello,
I have a ESP32s3 Board with RGB Led on pin 48. This PR use this RGB Led for indicate Network and Inverter Status. (Replace two leds and Blink network status and Inverter Status).

Color status :
RED: Network is Off
GREEN: Network is On
VIOLET: Network is Connected

BLUE: Inverter is Off
YELLOW: Inverter is On
ORANGE: Inverter is Blink

Coding style of OpenDTU ;)

@CommanderRedYT
Copy link
Contributor

Will this also be map-able inside of the web interface?

@stefan123t
Copy link
Contributor

@Tifaifai this PR adds a lot of details which are not really necessary to turn a single pixel WS2812 led in a certain color on/off/blinking.

Actually it contains all the example code to make a complete strip of WS2812 display complex patterns, plus the gamma tables for picture perfect brightness & color balance.

Would you want to reduce your PR to the bare minimum to make this PR at least considered for merging ?

@CommanderRedYT
Copy link
Contributor

This is just adding a library to the project. Maybe this library already exists in platformio, so then we can add it through this and reduce the code to control the one led.

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.

4 participants