White Wizard micro SD Card module test program.You can use White Wizard SPI system easily! Details : http://wizard.nestegg.jp/sd.html

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
halfpitch
Date:
Wed Aug 31 15:32:09 2011 +0000
Parent:
0:b8ab9a03a28d
Commit message:
Rev.B

Changed in this revision

wwChipSelect.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/wwChipSelect.cpp	Wed Jul 06 16:22:44 2011 +0000
+++ b/wwChipSelect.cpp	Wed Aug 31 15:32:09 2011 +0000
@@ -13,7 +13,7 @@
 void wwChipSelect :: wwCSwrite(int ch){   
     //start
     ChipSelect.write(1);   
-    wait_us(20); 
+    wait_us(30); 
     
     ChipSelect.write(0);
         
@@ -37,5 +37,6 @@
     
     ChipSelect.write(1);
 
+    wait_us(30); 
 }