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 ?
GPIO error
-
- Posts: 9715
- Joined: Thu Nov 26, 2015 4:08 am
Re: GPIO error
That is defined in rom/gpio.h; did you #include that file (or driver/gpio.h, which includes it as well)?
Who is online
Users browsing this forum: No registered users and 116 guests