Cool Fancy Terminal

Dependencies:   SerialTerminal mbed

Fork of Fancy-Terminal by El-POM1001

Revision:
4:317962df01f8
Parent:
3:35b0711f1832
--- 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);
     }
 }