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 TextLCD_HelloWorld by
Revision 1:b0cd3a071aac, committed 2013-07-18
- Comitter:
- kuyamarc
- Date:
- Thu Jul 18 02:38:27 2013 +0000
- Parent:
- 0:66332c315595
- Commit message:
- Working with Arduino-compatible LCD Shield.
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
| mbed.bld | Show annotated file Show diff for this revision Revisions of this file |
diff -r 66332c315595 -r b0cd3a071aac main.cpp
--- a/main.cpp Tue Nov 16 12:45:03 2010 +0000
+++ b/main.cpp Thu Jul 18 02:38:27 2013 +0000
@@ -1,8 +1,10 @@
#include "mbed.h"
#include "TextLCD.h"
-TextLCD lcd(p10, p12, p15, p16, p17, p18); // rs, e, d0-d3
+TextLCD lcd(PTC9, PTA13, PTD5, PTD0, PTD2, PTD3); // rs, e, d0-d3
int main() {
- lcd.printf("Hello World!\n");
+ lcd.printf("Marcos Miranda's\n");
+ lcd.locate(0, 1);
+ lcd.printf(" FRDM-KL25Z ");
}
diff -r 66332c315595 -r b0cd3a071aac mbed.bld --- a/mbed.bld Tue Nov 16 12:45:03 2010 +0000 +++ b/mbed.bld Thu Jul 18 02:38:27 2013 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/users/mbed_official/code/mbed/builds/e6be4cd80aad +http://mbed.org/users/mbed_official/code/mbed/builds/b3110cd2dd17 \ No newline at end of file
