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 SPI_HelloWorld_Mbed by
Revision 2:853d24908e9f, committed 2015-11-19
- Comitter:
- mcei
- Date:
- Thu Nov 19 17:08:41 2015 +0000
- Parent:
- 1:d1403e3aa88b
- Commit message:
- Added comments
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Thu Nov 19 17:07:34 2015 +0000 +++ b/main.cpp Thu Nov 19 17:08:41 2015 +0000 @@ -51,7 +51,7 @@ spi.write(0x00); for (int i=0; i<32; i++) { - ret_val = spi.write(0x01); + ret_val = spi.write(0x01); // The address will increment on each read from here pc.printf("Reading = 0x%X \t %d\n\r", ret_val, ret_val); wait(0.2); }