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:
- 2:46adf929a2ba
- Parent:
- 1:ba08ad32bb88
- Child:
- 3:599209bd1270
--- a/main.cpp Mon Aug 23 13:27:15 2010 +0000
+++ b/main.cpp Mon Aug 23 14:36:14 2010 +0000
@@ -3,6 +3,7 @@
MAX7456 vo (p5,p6,p7,p20,p19);
DigitalOut myled(LED1);
+Serial pc(USBTX, USBRX); // tx, rx
int main() {
@@ -10,12 +11,13 @@
vo.setdarkness();
vo.initaddress();
-vo.htrim();
-vo.vtrim();
+vo.test();
+//vo.show();
+//vo.htrim();
+//vo.vtrim();
-vo.locate(1,1);
-vo.putc('A');
-//vo.printf("Hello world!");
+vo.locate(5,5);
+vo.printf("hello world");
wait(5.0);
vo.cls();
}