one weird trick to avoid 5khz tone

This commit is contained in:
jacqueline
2023-08-28 20:54:02 +10:00
parent c214d4b40e
commit 1200479045
+2 -2
View File
@@ -100,9 +100,9 @@ auto Display::Create(IGpios* expander,
ledc_timer_config_t led_config{
.speed_mode = LEDC_LOW_SPEED_MODE,
.duty_resolution = LEDC_TIMER_13_BIT,
.duty_resolution = LEDC_TIMER_8_BIT,
.timer_num = LEDC_TIMER_0,
.freq_hz = 5000,
.freq_hz = 50000,
.clk_cfg = LEDC_AUTO_CLK,
};
ESP_ERROR_CHECK(ledc_timer_config(&led_config));