mirror of
https://github.com/HendrikRauh/dmx-interface.git
synced 2025-07-04 21:28:53 +00:00
adjust led brightness
This commit is contained in:
parent
e4fb246356
commit
003102fa90
1 changed files with 3 additions and 0 deletions
|
@ -100,6 +100,9 @@ void setup()
|
|||
esp_read_mac(mac, ESP_MAC_ETH);
|
||||
|
||||
// LED
|
||||
config.begin("dmx", true);
|
||||
brightness_led = config.getUInt("led-brightness", 20);
|
||||
config.end();
|
||||
analogWrite(PIN_LED, brightness_led);
|
||||
// delay(5000);
|
||||
ledBlink(500);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue