Merge pull request #308 from paelzer/patch-1
Updated esp322432s028r.h with SD card interface pin defines
This commit is contained in:
commit
cb6ab79ecb
@ -7,4 +7,16 @@
|
|||||||
#define LED_PIN 4 // Red pin
|
#define LED_PIN 4 // Red pin
|
||||||
#define LED_PIN_G 17 // Green pin
|
#define LED_PIN_G 17 // Green pin
|
||||||
|
|
||||||
|
// Pin defines for the SD card interface
|
||||||
|
// This is working for both, ESP32 2432S028R and ESP 2432S028_2USB boards
|
||||||
|
// --------------------------------------
|
||||||
|
// use SPI interface
|
||||||
|
// (default SPI unit provided by <SPI.h>)
|
||||||
|
// setup SPI pins.
|
||||||
|
|
||||||
|
#define SDSPI_CS 5
|
||||||
|
#define SDSPI_CLK 18
|
||||||
|
#define SDSPI_MOSI 23
|
||||||
|
#define SDSPI_MISO 19
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user