Based on Terminal lib from Simon Ford, some adds
Fork of TerminalPlus by
Terminal.h
- Committer:
- simon
- Date:
- 2009-12-31
- Revision:
- 0:2bf27af3c759
- Child:
- 1:96ae39e58792
File content as of revision 0:2bf27af3c759:
/* mbed Terminal TextDisplay Library * Copyright (c) 2007-2009 sford * Released under the MIT License: http://mbed.org/license/mit * * Implementation of ANSI/VT100 Terminal escape codes * for use with e.g. Teraterm, Hyperterminal */ #include "mbed.h" #ifndef MBED_TERMINAL_H #define MBED_TERMINAL_H class Terminal : public Serial { public: Terminal(PinName tx, PinName rx); // printf(), put(), baud() etc - inherited from Serial void cls(); void locate(int column, int row); void foreground(int colour); void background(int colour); }; #endif