Hello,
I used this sketch to find out the SPI pins of the board:
/*
Rui Santos
Complete project details at https://RandomNerdTutorials.com/esp32-spi-communication-arduino/
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files.
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
*/
//Find the default SPI pins for your board
//Make sure you have the right board selected in Tools > Boards
void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
Serial.print("MOSI: ");
Serial.println(MOSI);
Serial.print("MISO: ");
Serial.println(MISO);
Serial.print("SCK: ");
Serial.println(SCK);
Serial.print("SS: ");
Serial.println(SS);
}
void loop() {
// put your main code here, to run repeatedly:
}
What I got is:
MOSI 10
MISO 11
SCK 9
SS 8
But where are these pins on the board? Are there any working SPI scripts for this board?
I try to use SPI because I couldn’t get my BME 280 (BlueDot) sensor running on I2C with this board. The sensor can run on SPI as well …
Thank’s Martin