nrf5/modules: Updating mountsd, SD card test script with new params.

This commit is contained in:
Glenn Ruben Bakke 2016-12-27 15:42:35 +01:00
parent d6300a2e82
commit 9197739cf4
1 changed files with 2 additions and 3 deletions

View File

@ -1,9 +1,8 @@
import os
from machine import SPI
from pyb import Pin
from machine import SPI, Pin
from sdcard import SDCard
def mount_sd():
sd = SDCard(SPI(0), Pin("A22"))
sd = SDCard(SPI(0), Pin("A22", mode=Pin.OUT))
os.mount(sd, '/')