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 ANSI/VT100 Terminal escape codes 00006 * for use with e.g. Teraterm, Hyperterminal 00007 */ 00008 00009 #include "mbed.h" 00010 00011 #ifndef MBED_TERMINAL_H 00012 #define MBED_TERMINAL_H 00013 00014 class Terminal : public Serial { 00015 public: 00016 00017 Terminal(PinName tx, PinName rx); 00018 00019 // printf(), put(), baud() etc - inherited from Serial 00020 00021 void cls(); 00022 void locate(int column, int row); 00023 void foreground(int colour); 00024 void background(int colour); 00025 }; 00026 00027 #endif
Generated on Sun Jul 24 2022 09:45:58 by
1.7.2