Cool Fancy Terminal
Dependencies: SerialTerminal mbed
Fork of Fancy-Terminal by
Diff: main.cpp
- Revision:
- 2:89b263d1a399
- Parent:
- 1:dae8b7bc926d
- Child:
- 3:35b0711f1832
--- a/main.cpp Tue Nov 23 16:05:15 2010 +0000 +++ b/main.cpp Thu Oct 15 16:36:35 2015 +0000 @@ -6,15 +6,18 @@ Terminal term(USBTX, USBRX); // tx, rx int main() { - term.printf("Hello World!\nHow are you?"); - + + + while(1) + { + term.cls(); + term.locate(20,10); + term.printf("How are you?"); wait(2); - - term.locate(3,1); + term.locate(20,11); term.foreground(0xFF0000); + term.foreground(0xFF0000); term.printf("I'm Great!"); - - wait(3); - - term.cls(); + wait(2); + } }