In Arduino you pass custom pin values in SPI.begin function https://github.com/espressif/arduino-es ... PI.cpp#L37
In esp-idf https://esp-idf.readthedocs.io/en/lates ... aster.html
Initialize custom pins for SPI
Re: Initialize custom pins for SPI
Great. Thanks man. Really nice to talk to some helpful dev
-
- Posts: 1
- Joined: Fri Jul 16, 2021 7:01 am
Re: Initialize custom pins for SPI
For Arduino IDE,
You can change the pins from pins_arduino.h
Make sure you are changing for necessary board
Below was the path for me
C:\Users\USER\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6\variants\doitESP32devkitV1
Sometimes the folder might be hidden. Please do appropriate settings
You can change the pins from pins_arduino.h
Make sure you are changing for necessary board
Below was the path for me
C:\Users\USER\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6\variants\doitESP32devkitV1
Sometimes the folder might be hidden. Please do appropriate settings
Who is online
Users browsing this forum: Bing [Bot] and 188 guests