diff --git a/tasmota/CHANGELOG.md b/tasmota/CHANGELOG.md index 373f30382..6de3c16d3 100644 --- a/tasmota/CHANGELOG.md +++ b/tasmota/CHANGELOG.md @@ -7,6 +7,7 @@ - Add command ``SetOption73 1`` for button decoupling and send multi-press and hold MQTT messages by Federico Leoni (#8235) - Add command ``SO`` as shortcut for command ``SetOption`` - Change PWM implementation to Arduino #7231 +- Change default PWM Frequency to 223 Hz instead of 880 Hz for less interrupt pressure ### 8.2.0.3 20200329 diff --git a/tasmota/tasmota.h b/tasmota/tasmota.h index 927b350ca..f587e9818 100644 --- a/tasmota/tasmota.h +++ b/tasmota/tasmota.h @@ -110,7 +110,7 @@ const uint16_t WS2812_MAX_LEDS = 512; // Max number of LEDs const uint32_t PWM_RANGE = 1023; // 255..1023 needs to be devisible by 256 //const uint16_t PWM_FREQ = 1000; // 100..1000 Hz led refresh //const uint16_t PWM_FREQ = 910; // 100..1000 Hz led refresh (iTead value) -const uint16_t PWM_FREQ = 880; // 100..1000 Hz led refresh (BN-SZ01 value) +const uint16_t PWM_FREQ = 223; // 100..4000 Hz led refresh const uint16_t PWM_MAX = 4000; // [PWM_MAX] Maximum frequency - Default: 4000 const uint16_t PWM_MIN = 100; // [PWM_MIN] Minimum frequency - Default: 100 // For Dimmers use double of your mains AC frequecy (100 for 50Hz and 120 for 60Hz)