Is it possible to use both SPI and Shiftin function in a code, when I enable SPI.setClockDivider(SPI_CLOCK_DIV4) and use Shiftin together, the code is not flashed on the board.
When I disable SPI, the code is flashed successfully, individually both SPI and Shiftin works, when I disable one or the other.
The development board is ESP32.