nrf5/modules: Updating mountsd, SD card test script with new params.
This commit is contained in:
parent
d6300a2e82
commit
9197739cf4
|
@ -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, '/')
|
||||
|
||||
|
|
Loading…
Reference in New Issue