Content-Length: 1178 | pFad | http://github.com/adafruit/circuitpython/pull/10464.patch
thub.com
From 729ef685e5abe0736533398cab5e89268a64f0e1 Mon Sep 17 00:00:00 2001
From: Dan Halbert
Date: Tue, 8 Jul 2025 17:55:01 -0400
Subject: [PATCH] shared-bindings/sdioio/SDCard.c: fix example
---
shared-bindings/sdioio/SDCard.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/shared-bindings/sdioio/SDCard.c b/shared-bindings/sdioio/SDCard.c
index 98cec5bc11bdf..892cecd3fb4af 100644
--- a/shared-bindings/sdioio/SDCard.c
+++ b/shared-bindings/sdioio/SDCard.c
@@ -55,7 +55,10 @@
//| sd = sdioio.SDCard(
//| clock=board.SDIO_CLOCK,
//| command=board.SDIO_COMMAND,
-//| data=[board.SDIO_DATA],
+//| # Note that board.SDIO_DATA is a tuple of four pins, not an individual pin.
+//| data=board.SDIO_DATA,
+//| # On some boards, the data pins are named individually. Use this line instead.
+//| #data=(board.SDIO_DATA0, board.SDIO_DATA1, board.SDIO_DATA2, board.SDIO_DATA3),
//| frequency=25000000)
//| vfs = storage.VfsFat(sd)
//| storage.mount(vfs, '/sd')
--- a PPN by Garber Painting Akron. With Image Size Reduction included!Fetched URL: http://github.com/adafruit/circuitpython/pull/10464.patch
Alternative Proxies:
Alternative Proxy
pFad Proxy
pFad v3 Proxy
pFad v4 Proxy