Terminal interface for communicating with serial ANSI/VT100 terminals
Dependents: Terminal_HelloWorld geigercounter01 geigercounter04 DiscoTech ... more
main.cpp
- Committer:
- simon
- Date:
- 2009-12-31
- Revision:
- 0:2bf27af3c759
File content as of revision 0:2bf27af3c759:
// 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(); }