Search found 12 matches

by zilizii
Sun Oct 29, 2017 4:19 pm
Forum: ESP-IDF
Topic: LEDC interrupt for fade --> how it is working?
Replies: 1
Views: 4072

LEDC interrupt for fade --> how it is working?

Hello, I tried to create an interrupt function to check the fade action done. ledc_fade_func_install(0); ledc_isr_register(&ledc_isr_fnc, NULL, ESP_INTR_FLAG_IRAM , NULL); while (1) { printf("1. LEDC fade up to duty = %d\n", LEDC_TEST_DUTY); for (ch = 0; ch < LEDC_TEST_CH_NUM; ch++) { ledc_set_fade_...
by zilizii
Sun Oct 29, 2017 3:16 pm
Forum: ESP-IDF
Topic: error message ledc_isr_register()
Replies: 16
Views: 20063

error message ledc_isr_register()

Hello, I am a new in the ESP32 world. My goal is to understnad the basics and I would like to use only the ESP-IDF API. I have been read the LED Controller part, and I would like to use the end interrupt of a fade effect. Channel is configured according to the demo ledc_fade_func_install(0); ledc_is...