Skip to content

Sample SD Card

Takeo Takahashi edited this page Feb 17, 2022 · 4 revisions

image

  • 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

Home

ホーム

Clone this wiki locally