Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Terminal.h
00001 /* mbed Terminal TextDisplay Library 00002 * Copyright (c) 2007-2009 sford 00003 * Released under the MIT License: http://mbed.org/license/mit 00004 * 00005 * Implementation of a TextDisplay using a VT100 Terminal and 00006 * escape codes (e.g. Teraterm, Hyperterminal) 00007 */ 00008 00009 #include "TextDisplay.h" 00010 00011 #ifndef MBED_TERMINAL_H 00012 #define MBED_TERMINAL_H 00013 00014 class Terminal : public TextDisplay { 00015 public: 00016 00017 Terminal(PinName tx, PinName rx); 00018 00019 virtual void character(int column, int row, int c); 00020 virtual int rows(); 00021 virtual int columns(); 00022 00023 virtual void cls(); 00024 virtual void foreground(int colour); 00025 virtual void background(int colour); 00026 00027 protected: 00028 00029 Serial _serial; 00030 00031 }; 00032 00033 #endif
Generated on Wed Jul 13 2022 20:42:02 by
1.7.2