Cool Fancy Terminal
Dependencies: SerialTerminal mbed
Fork of Fancy-Terminal by
main.cpp
- Committer:
- madmonkeyman82
- Date:
- 2015-10-15
- Revision:
- 2:89b263d1a399
- Parent:
- 1:dae8b7bc926d
- Child:
- 3:35b0711f1832
File content as of revision 2:89b263d1a399:
// simple test for a ANSI/VT100 Terminal, sford #include "mbed.h" #include "Terminal.h" Terminal term(USBTX, USBRX); // tx, rx int main() { while(1) { term.cls(); term.locate(20,10); term.printf("How are you?"); wait(2); term.locate(20,11); term.foreground(0xFF0000); term.foreground(0xFF0000); term.printf("I'm Great!"); wait(2); } }