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.
main.cpp
- Committer:
- almeer
- Date:
- 2016-03-27
- Revision:
- 0:2c2981e27ad1
- Child:
- 1:077d8e1f21a8
File content as of revision 0:2c2981e27ad1:
/* Program Example 10.4: writing data to an SD card
*/
#include "mbed.h"
Serial pc(USBTX, USBRX);
int main()
{
// pc.printf("Could not open file for write\n"); // error if no pointer
// pc.printf("SD card file successfully opened\n"); // if pointer ok
pc.printf("Hello World!");
}