This is the documentation for the latest development branch of MicroPython and may refer to features that are not available in released versions.

If you are looking for the documentation for a specific release, use the drop-down menu on the left and select the desired version.

machine.SD

Classes

SD

Create a SD card object. See init() for parameters if initialization.

Module Contents

class machine.SD.SD(id, *args, **kwargs)

Create a SD card object. See init() for parameters if initialization.

deinit() None

Disable the SD card.

init(id=0, pins=('GP10', 'GP11', 'GP15')) None

Enable the SD card. In order to initialize the card, give it a 3-tuple: (clk_pin, cmd_pin, dat0_pin).