GPIO error
Posted: Mon Aug 06, 2018 1:24 pm
Hi,
code:
gpio_config_t gpio_conf = {
// disable interrupt
.intr_type = GPIO_PIN_INTR_DISABLE,
//set as output mode
.mode = GPIO_MODE_OUTPUT,
//bit mask of the pins that you want to set,e.g.GPIO18/19
.pin_bit_mask = (1 << GPIO_OUTPUT),
//disable pull-down mode
.pull_down_en = 0,
//disable pull-up mode
.pull_up_en = 0
};
i am facing the following error
Symbol 'GPIO_PIN_INTR_DISABLE' could not be resolved fft.c /esp32-fft/main line 40 Semantic Error
does anyone knows how to resolve it ?
code:
gpio_config_t gpio_conf = {
// disable interrupt
.intr_type = GPIO_PIN_INTR_DISABLE,
//set as output mode
.mode = GPIO_MODE_OUTPUT,
//bit mask of the pins that you want to set,e.g.GPIO18/19
.pin_bit_mask = (1 << GPIO_OUTPUT),
//disable pull-down mode
.pull_down_en = 0,
//disable pull-up mode
.pull_up_en = 0
};
i am facing the following error
Symbol 'GPIO_PIN_INTR_DISABLE' could not be resolved fft.c /esp32-fft/main line 40 Semantic Error
does anyone knows how to resolve it ?