mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-22 18:26:30 +00:00
* Minimum PWM Frequency lowered to 2Hz on ESP32 (#13123) * Forgot main file
This commit is contained in:
parent
679494370a
commit
f9e1ab1c90
@ -16,6 +16,7 @@ All notable changes to this project will be documented in this file.
|
||||
### Changed
|
||||
- M5 Stack Core2 uses UNIVERSAL_DISPLAY with enabled LVGL as default now
|
||||
- ``DisplayDimmer`` has now range 0..100 instead of 0..15
|
||||
- Minimum PWM Frequency lowered to 2Hz on ESP32 (#13123)
|
||||
|
||||
### Fixed
|
||||
- OpenTherm invalid JSON (#13028)
|
||||
|
@ -137,10 +137,11 @@ const uint32_t PWM_RANGE = 1023; // 255..1023 needs to be devisible b
|
||||
const uint16_t PWM_FREQ = 977; // 100..4000 Hz led refresh
|
||||
#ifdef ESP32
|
||||
const uint16_t PWM_MAX = 50000; // [PWM_MAX] Maximum frequency for ESP32 - Default: 50000
|
||||
const uint16_t PWM_MIN = 2; // [PWM_MIN] Minimum frequency for ESP32 - Default: 2
|
||||
#else
|
||||
const uint16_t PWM_MAX = 4000; // [PWM_MAX] Maximum frequency - Default: 4000
|
||||
#endif
|
||||
const uint16_t PWM_MIN = 40; // [PWM_MIN] Minimum frequency - Default: 40
|
||||
#endif
|
||||
// For Dimmers use double of your mains AC frequecy (100 for 50Hz and 120 for 60Hz)
|
||||
// For Controlling Servos use 50 and also set PWM_FREQ as 50 (DO NOT USE THESE VALUES FOR DIMMERS)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user