Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of SWSPI by
Revision 1:50294edaa3d2, committed 2014-10-05
- 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 |
--- 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;
