cc3200: New SD and RTC API plus os and time modules' extensions.

This commit is contained in:
Daniel Campora
2015-09-16 14:09:51 +02:00
parent 660f8613fd
commit dffa9f6da6
41 changed files with 1562 additions and 884 deletions

View File

@@ -158,11 +158,12 @@ SD card
See :ref:`pyb.SD <pyb.SD>`. ::
from pyb import SD
import os
# SD card pins need special configuration so we pass them to the constructor
# data pin, data af, clock pin, clock af, cmd pin, cmd af
sd = pyb.SD(('GP15', 8, 'GP10', 6, 'GP11', 6))
sd.mount()
# clock pin, cmd pin, data0 pin
sd = SD(pins=('GP10', 'GP11', 'GP15'))
os.mount(sd, '/sd')
WLAN (WiFi)
-----------