From dffa9f6da65cd03e834b2ed3914f40428f72e49f Mon Sep 17 00:00:00 2001 From: Daniel Campora Date: Wed, 16 Sep 2015 14:09:51 +0200 Subject: cc3200: New SD and RTC API plus os and time modules' extensions. --- docs/wipy/quickref.rst | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'docs') diff --git a/docs/wipy/quickref.rst b/docs/wipy/quickref.rst index 8376e5b40..eb8a12e8b 100644 --- a/docs/wipy/quickref.rst +++ b/docs/wipy/quickref.rst @@ -158,11 +158,12 @@ SD card See :ref:`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) ----------- -- cgit v1.2.3