Search found 1 match

by BerndN
Thu Nov 14, 2024 2:32 pm
Forum: ESP32 Arduino
Topic: LEDCFade not stoppable, workarount to a assign a new fade-target
Replies: 0
Views: 256

LEDCFade not stoppable, workarount to a assign a new fade-target

ARDUINO ESP-Board 2.0.18 I have a callback-routine which is called when the led switches ON or OFF or a new brightness (a slider in the Alexa-App is moved around. The bool ledcFade(uint8_t pin, uint32_t start_duty, uint32_t target_duty, int max_fade_time_ms); stucks if it is called again before the ...