forked from micropython/micropython
-
Notifications
You must be signed in to change notification settings - Fork 3
Sample SD Card
Takeo Takahashi edited this page Feb 17, 2022
·
4 revisions
- Mount SD Card
import pyb
import os
sd = pyb.SDCard()
os.mount(sd, "/sd")
os.listdir("/")
-
For EK-RA6M2, connect as followings:
SD PIN RA6M2 PIN CS P111 MOSI P101 MISO P100 CLK P102 VCC VCC GND GND -
For RA4M1 Clicker, connect as followings:
SD PIN RA4M1 Cliker PIN CS P103 MOSI P101 MISO P100 CLK P102 VCC VCC GND GND -
Confirmed device: MH-SD Card Module