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.
Dependencies: mbed C12832 SDFileSystemwithdisplay
Revision 2:4f9836ac8d6b, committed 2019-10-13
- Comitter:
- lpeltoni
- Date:
- Sun Oct 13 19:02:09 2019 +0000
- Parent:
- 1:e4d7342be507
- Commit message:
- Embedded systems project;
Changed in this revision
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/C12832.lib Sun Oct 13 19:02:09 2019 +0000 @@ -0,0 +1,1 @@ +https://mbed.org/users/chris/code/C12832/#7de323fa46fe
--- a/SDFileSystem.lib Tue May 16 05:18:55 2017 +0000 +++ b/SDFileSystem.lib Sun Oct 13 19:02:09 2019 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/users/mbed_official/code/SDFileSystem/#8db0d3b02cec +https://os.mbed.com/users/lpeltoni/code/SDFileSystemwithdisplay/#4ec14056f8a9
--- a/main.cpp Tue May 16 05:18:55 2017 +0000
+++ b/main.cpp Sun Oct 13 19:02:09 2019 +0000
@@ -1,10 +1,14 @@
#include "mbed.h"
#include "SDFileSystem.h"
+#include "C12832.h"
-SDFileSystem sd(p5, p6, p7, p8, "sd"); // the pinout on the mbed Cool Components workshop board
+SDFileSystem sd(PA_7, PA_6, PA_5, PA_2, "sd"); // the pinout on the mbed Cool Components workshop board
+C12832 lcd(PA_7, PA_5, PA_9, PA_1, PA_0);
int main() {
- printf("Hello World!\n");
+ lcd.cls();
+ lcd.locate(0,3);
+ lcd.printf("Hello World!\n");
mkdir("/sd/mydir", 0777);
@@ -15,5 +19,8 @@
fprintf(fp, "Hello fun SD Card World!");
fclose(fp);
- printf("Goodbye World!\n");
+ wait(1.0);
+ lcd.cls();
+ lcd.locate(0,15);
+ lcd.printf("Goodbye World!\n");
}
--- a/mbed.bld Tue May 16 05:18:55 2017 +0000 +++ b/mbed.bld Sun Oct 13 19:02:09 2019 +0000 @@ -1,1 +1,1 @@ -https://mbed.org/users/mbed_official/code/mbed/builds/e1686b8d5b90 \ No newline at end of file +http://mbed.org/users/mbed_official/code/mbed/builds/6c34061e7c34 \ No newline at end of file