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.
Diff: main.cpp
- Revision:
- 1:be0ba4cb6c5d
- Parent:
- 0:92dd50c69b90
- Child:
- 2:47cd49e26bfc
diff -r 92dd50c69b90 -r be0ba4cb6c5d main.cpp
--- a/main.cpp Sun Sep 20 11:57:45 2015 +0000
+++ b/main.cpp Sun Sep 20 18:02:03 2015 +0000
@@ -1,16 +1,16 @@
-#include "mbed.h"
-#include "TextLCD.h"
-
-TextLCD lcd(D11,D10,D9,D5,D4,D3,D2);
-int main()
-{
+ #include "mbed.h"
+ #include "TextLCD.h"
+
+ TextLCD lcd(D11,D10,D9,D5,D4,D3,D2);
+ int main()
+ {
lcd.gotoxy(1,1);
- lcd.printf("Hello");
-
- lcd.gotoxy(1,2);
- lcd.printf(" World");
-
+ lcd.printf("Line nr 1");
+
+ lcd.gotoxy(4,2);
+ lcd.printf("Line nr 2");
+
while(1) {
wait_ms(300);
}
-}
+ }
\ No newline at end of file