Cool Fancy Terminal

Dependencies:   SerialTerminal mbed

Fork of Fancy-Terminal by El-POM1001

Files at this revision

API Documentation at this revision

Comitter:
madmonkeyman82
Date:
Fri Oct 16 16:05:46 2015 +0000
Parent:
3:35b0711f1832
Commit message:
New Serial teminal class

Changed in this revision

SerialTerminal.lib Show annotated file Show diff for this revision Revisions of this file
Terminal.lib Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/SerialTerminal.lib	Fri Oct 16 16:05:46 2015 +0000
@@ -0,0 +1,1 @@
+https://developer.mbed.org/teams/El-POM10011/code/SerialTerminal/#601254e70221
--- a/Terminal.lib	Thu Oct 15 17:02:36 2015 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-https://developer.mbed.org/teams/El-POM10011/code/Terminal/#8fd40799c142
--- a/main.cpp	Thu Oct 15 17:02:36 2015 +0000
+++ b/main.cpp	Fri Oct 16 16:05:46 2015 +0000
@@ -1,24 +1,24 @@
 // simple test for a ANSI/VT100 Terminal, sford
 
 #include "mbed.h"
-#include "Terminal.h"
+#include "SerialTerminal.h"
 
-Terminal term(USBTX, USBRX); // tx, rx
+SerialTerminal pc(USBTX, USBRX, 19600); // tx, rx
 
 int main() {
     
     
     while(1)
     {
-    term.cls();
-    term.locate(20,10);
-    term.printf("How are you?");
+    pc.cls();
+    pc.locate(20,10);
+    pc.printf("How are you?");
     wait(2);
-    term.locate(20,11);
-    term.foreground(0xFF0000);
-    term.background(0x000007F);
-    term.printf("I'm Great!");
-    term.hideCursor();
+    pc.locate(20,11);
+    pc.foreground(0xFF0000);
+    pc.background(0x000007F);
+    pc.printf("I'm Great!");
+    pc.hideCursor();
     wait(2);
     }
 }