El-POM1001 / Mbed 2 deprecated Fancy-Terminal

Dependencies:   Terminal mbed

Fork of Terminal_HelloWorld by Simon Ford

Files at this revision

API Documentation at this revision

Comitter:
simon
Date:
Thu Jun 03 17:13:09 2010 +0000
Child:
1:dae8b7bc926d
Commit message:

Changed in this revision

Terminal.lib Show annotated file Show diff for this revision Revisions of this file
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
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Terminal.lib	Thu Jun 03 17:13:09 2010 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/simon/code/Terminal/#85184c13476c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Thu Jun 03 17:13:09 2010 +0000
@@ -0,0 +1,21 @@
+// simple test for a ANSI/VT100 Terminal, sford
+
+#include "mbed.h"
+
+#include "Terminal.h"
+
+Terminal term(USBTX, USBRX); // tx, rx
+
+int main() {
+    term.printf("Hello World!\nHow are you?");
+
+    wait(2);
+
+    term.locate(3,1);
+    term.foreground(0xFF0000);
+    term.printf("I'm Great!");
+
+    wait(3);
+
+    term.cls();
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Thu Jun 03 17:13:09 2010 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/mbed_official/code/mbed/builds/029aa53d7323