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:
- 3:599209bd1270
- Parent:
- 2:46adf929a2ba
- Child:
- 4:804abcb28b86
--- a/main.cpp Mon Aug 23 14:36:14 2010 +0000
+++ b/main.cpp Thu Aug 26 11:42:28 2010 +0000
@@ -12,12 +12,38 @@
vo.initaddress();
vo.test();
-//vo.show();
-//vo.htrim();
-//vo.vtrim();
+vo.htrim('+',17);
+vo.vtrim('-',7);
+
+vo.cls();
vo.locate(5,5);
-vo.printf("hello world");
-wait(5.0);
-vo.cls();
+vo.printf("Hello World");
+
+
+
+
+
+int count = 0;
+
+/*
+for (int y = 0 ; y < 16 ; y++) {
+ for (int x = 0 ; x < 30 ; x++) {
+ vo.locate(x,y);
+ count= count+1;
+ vo.putc(count);
+ wait(0.01);
+ printf("/%d/",count);
+ }
}
+*/
+
+
+/*
+vo.locate(1,1);
+vo.printf("good bye");
+wait(2.0);
+vo.locate(1,1);
+vo.printf("error");
+*/
+}