nrf5/modules: Updating documentation on sdcard.py copy to use new params in the example description

This commit is contained in:
Glenn Ruben Bakke 2016-12-27 15:44:39 +01:00
parent 9197739cf4
commit db994e2ec0

View File

@ -21,8 +21,8 @@ Example usage on ESP8266:
Example usage on NRF52832:
import machine, pyb, os
sd = sdcard.SDCard(machine.SPI(0), machine.PIN("A22"))
import os, machine, sdcard
sd = sdcard.SDCard(machine.SPI(0), machine.PIN("A22", mode=machine.Pin.OUT))
os.mount(sd, "")
os.listdir()