nrf5/modules: Adding a function to get access to the SD card flash drive on the seeedstudio tft shield.

This commit is contained in:
Glenn Ruben Bakke 2016-12-27 16:05:49 +01:00
parent cceea0a504
commit d2969048ff

View File

@ -3,6 +3,12 @@
import time
from machine import SPI, Pin
import os
from sdcard import SDCard
def mount_tf(self, mount_point="/"):
sd = SDCard(SPI(0), Pin("A15", mode=Pin.OUT))
os.mount(sd, mount_point)
class ILI9341:
def __init__(self, width, height):