Home
last modified time | relevance | path

Searched refs:LEDC_DUTY (Results 1 – 2 of 2) sorted by relevance

/hal_espressif-3.6.0/examples/peripherals/ledc/ledc_basic/main/
Dledc_basic_example_main.c18 #define LEDC_DUTY (4095) // Set duty to 50%. ((2 ** 13) - 1) * 50% = 4095 macro
51 ESP_ERROR_CHECK(ledc_set_duty(LEDC_MODE, LEDC_CHANNEL, LEDC_DUTY)); in app_main()
/hal_espressif-3.6.0/examples/peripherals/ledc/ledc_basic/
DREADME.md23 … in 50%, and output GPIO pin. To change them, adjust `LEDC_FREQUENCY`, `LEDC_DUTY`, `LEDC_OUTPUT_I…