diff --git a/esp-deckenlicht.ino b/esp-deckenlicht.ino index 00f01d4..4a45e73 100644 --- a/esp-deckenlicht.ino +++ b/esp-deckenlicht.ino @@ -274,6 +274,9 @@ void setup() { sensorNode.advertise("motion"); + // Activate other PWM frequency. 1000 (1 KHz) is default + analogWriteFreq(30000); + // Restore last state output();