i am trying to use spi.
the pins:
Code: Select all
#define PIN_NUM_MISO 7
#define PIN_NUM_MOSI 8
#define PIN_NUM_CLK 6
#define PIN_NUM_CS 11
it stopped at "gpio_set_direction()" in spi_master.c.
i found esp32 stopped when i use "gpio_set_direction(8,GPIO_MODE_OUTPUT)".
whether i have to change pins or not?