summaryrefslogtreecommitdiff
path: root/docs/wipy
diff options
context:
space:
mode:
authorDaniel Campora <daniel@wipy.io>2015-08-11 16:06:43 +0200
committerDaniel Campora <daniel@wipy.io>2015-08-16 20:17:58 +0200
commit11d21081b4321ff4a1078b728911fe15fea94509 (patch)
treeec51b860f3736ad1a76698f660f234e771942f32 /docs/wipy
parent34c290b678f6ba3a903754aad16758a007286b46 (diff)
cc3200: Rework SD API. Increase heap to avoid malloc failures.
Diffstat (limited to 'docs/wipy')
-rw-r--r--docs/wipy/quickref.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/wipy/quickref.rst b/docs/wipy/quickref.rst
index 2acbaa541..358020d94 100644
--- a/docs/wipy/quickref.rst
+++ b/docs/wipy/quickref.rst
@@ -172,10 +172,10 @@ See :ref:`pyb.SD <pyb.SD>`. ::
from pyb import SD
- # SD card pins need special configuration so we pass 'em to the constructor
+ # 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.enable()
+ sd = pyb.SD(('GP15', 8, 'GP10', 6, 'GP11', 6))
+ sd.mount()
WLAN (WiFi)
-----------