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