Cool Fancy Terminal

Dependencies:   SerialTerminal mbed

Fork of Fancy-Terminal by El-POM1001

main.cpp

Committer:
simon
Date:
2010-11-23
Revision:
1:dae8b7bc926d
Parent:
0:93888862261d
Child:
2:89b263d1a399

File content as of revision 1:dae8b7bc926d:

// 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();
}