Skip to content

Commit 79222aa

Browse files
committed
Updated comment section in SDMMC_Test.ino
1 parent d26cfe0 commit 79222aa

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

Diff for: libraries/SD_MMC/examples/SDMMC_Test/SDMMC_Test.ino

+9-9
Original file line numberDiff line numberDiff line change
@@ -32,24 +32,24 @@
3232
#include "SD_MMC.h"
3333

3434
// Default pins for ESP-S3
35-
// Warning: ESP32-S3-WROOM-2 is using most of the default SD_MMC GPIOs (33-37) to interface with on-board OPI flash.
36-
// If the SD_MMC is initialized with default pins it will result in rebooting loop - please
37-
// reassign the pins elsewhere using the mentioned command `setPins`.
35+
// Warning: ESP32-S3-WROOM-2 is using most of the default SD_MMC GPIOs (33-37) to interface with the on-board OPI flash.
36+
// If the SD_MMC is initialized with the default pins it will result in rebooting loop.
37+
// Please reassign the pins elsewhere using the mentioned command `setPins`.
3838
// Note: ESP32-S3-WROOM-1 does not have GPIO 33 and 34 broken out.
3939
// Note: The board ESP32-S3-USB-OTG has predefined default pins and the following definitions with the setPins() call will not be compiled.
4040
// Note: Pins in this definition block are ordered from top down in order in which they are on the full-sized SD card
4141
// from left to right when facing the pins down (when connected to a breadboard)
4242

4343
#if defined(SOC_SDMMC_USE_GPIO_MATRIX) && not defined(BOARD_HAS_SDMMC)
44-
int d1 = 21; // SD pin 8 - add 10k Pullup to 3.3V if using 4-bit mode (use_1_bit_mode = false)
45-
int d0 = 47; // SD pin 7 - add 10k Pullup
44+
int d1 = 21; // SD pin 8 - Add a 10k Ohm pull-up resistor to 3.3V if using 4-bit mode (use_1_bit_mode = false)
45+
int d0 = 47; // SD pin 7 - Add a 10k Ohm pull-up resistor
4646
// GND pin - SD pin 6
47-
int clk = 39; // SD pin 5 - add 10k Pullup
47+
int clk = 39; // SD pin 5 - Add a 10k Ohm pull-up resistor
4848
// 3.3V pin - SD pin 4
4949
// GND pin - SD pin 3
50-
int cmd = 40; // SD pin 2 - add 10k Pullup
51-
int d3 = 41; // SD pin 1 - add 10k Pullup to card's pin even when using 1-bit mode
52-
int d2 = 42; // SD pin 9 - add 10k Pullup to 3.3V if using 4-bit mode (use_1_bit_mode = false)
50+
int cmd = 40; // SD pin 2 - Add a 10k Ohm pull-up resistor
51+
int d3 = 41; // SD pin 1 - Add a 10k Ohm pull-up resistor to card's pin even when using 1-bit mode
52+
int d2 = 42; // SD pin 9 - Add a 10k Ohm pull-up resistor to 3.3V if using 4-bit mode (use_1_bit_mode = false)
5353
#endif
5454

5555
bool use_1_bit_mode = false; // Change the value to `true` to use 1-bit mode instead of the 4-bit mode

0 commit comments

Comments
 (0)