Skip to content

HyperSPI with LolinS2-Mini change default pin-in #22

Answered by awawa-dev
d22b asked this question in Q&A
Discussion options

You must be logged in to vote

these are default SPI pins for ESP32-S2 mini

ESP32-S2 lolin mini PINOUT
Clock (SCK) GPIO 7
Data (MOSI) GPIO 11
SPI Chip Select(e.g. CE0) GPIO 12
GROUND mandatory
LED output GPIO 2

if you want to change them you need to edit online this line:

slave.begin(VSPI, 7, 34, 11, 12);

GPIO34 is a dummy pin, not used

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
1 reply
@d22b
Comment options

Comment options

You must be logged in to vote
5 replies
@d22b
Comment options

@LaytexLlama
Comment options

@AstaRom
Comment options

@LaytexLlama
Comment options

@AstaRom
Comment options

Answer selected by d22b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants