From b24763199d1fb346f6f9276903edc790b654062e Mon Sep 17 00:00:00 2001 From: Alexey Zholtikov Date: Wed, 10 Dec 2025 09:45:37 +0300 Subject: [PATCH] wip: --- README.md | 11 +++-------- version.txt | 2 +- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index fd4b2ff..08456a3 100644 --- a/README.md +++ b/README.md @@ -1,17 +1,13 @@ -# ESP32 ESP-IDF component for AC dimmer +# ESP32 ESP-IDF component for AC dimmer 115V/400Hz ## Tested on 1. [ESP32 ESP-IDF v5.5.1](https://docs.espressif.com/projects/esp-idf/en/v5.5.1/esp32/index.html) -## Features - -1. Supports frequency up to 400 Hz. -2. Automatic frequency detection. - ## Attention -For correct operation, please enable the following settings in the menuconfig: +1. Supports frequency 400Hz only. +2. For correct operation, please enable the following settings in the menuconfig: ```text GPIO_CTRL_FUNC_IN_IRAM @@ -47,7 +43,6 @@ void app_main(void) zh_ac_dimmer_init_config_t config = ZH_AC_DIMMER_INIT_CONFIG_DEFAULT(); config.zero_cross_gpio = GPIO_NUM_16; config.triac_gpio = GPIO_NUM_17; - config.ac_frequency = 50; zh_ac_dimmer_init(&config); zh_ac_dimmer_start(); uint8_t value = 0; diff --git a/version.txt b/version.txt index 589268e..359a5b9 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -1.3.0 \ No newline at end of file +2.0.0 \ No newline at end of file