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
|
import os
|
||||||
from machine import SPI
|
from machine import SPI, Pin
|
||||||
from pyb import Pin
|
|
||||||
from sdcard import SDCard
|
from sdcard import SDCard
|
||||||
|
|
||||||
def mount_sd():
|
def mount_sd():
|
||||||
sd = SDCard(SPI(0), Pin("A22"))
|
sd = SDCard(SPI(0), Pin("A22", mode=Pin.OUT))
|
||||||
os.mount(sd, '/')
|
os.mount(sd, '/')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user