Skip to content

Commit

Permalink
fix for incorrect SPI pin assignments
Browse files Browse the repository at this point in the history
  • Loading branch information
terjeio committed Dec 15, 2023
1 parent 2dc6e0d commit 178bfdb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main/mks_dlc32_2_0_map.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@
// Pin mapping when using SPI mode.
// With this mapping, SD card can be used both in SPI and 1-line SD mode.
// Note that a pull-up on CS line is required in SD mode.
#define PIN_NUM_MISO GPIO_NUM_12
#define PIN_NUM_MOSI GPIO_NUM_13
#define PIN_NUM_MISO GPIO_NUM_13
#define PIN_NUM_MOSI GPIO_NUM_12
#define PIN_NUM_CLK GPIO_NUM_14
#define PIN_NUM_CS GPIO_NUM_15

Expand Down

0 comments on commit 178bfdb

Please sign in to comment.