Initial Fork

Dependents:   eBot_Firmware_V1

Fork of SWSPI by Dave Van Wagner

Files at this revision

API Documentation at this revision

Comitter:
Throwbot
Date:
Sun Oct 05 12:22:32 2014 +0000
Parent:
0:6a500a08c7fd
Commit message:
SPI

Changed in this revision

SWSPI.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 6a500a08c7fd -r 50294edaa3d2 SWSPI.cpp
--- a/SWSPI.cpp	Tue Feb 04 06:54:01 2014 +0000
+++ b/SWSPI.cpp	Sun Oct 05 12:22:32 2014 +0000
@@ -68,7 +68,7 @@
 
         sclk->write(!polarity);
 
-        wait(1.0/freq/2);
+        //wait(1.0/freq/2);
 
         if (phase == 1)
         {
@@ -78,7 +78,7 @@
 
         sclk->write(polarity);
 
-        wait(1.0/freq/2);
+        //wait(1.0/freq/2);
     }
     
     return read;