Search Code
About Terminal

First published 31 Dec 2009, with 3 revisions since.
Last update: 31 Dec 2009.
View history

Last change message: N/A

Related to
Terminal_HelloWorld
Hello World for the Terminal ANSI/VT100 interface library
tag ANSI, helloworld, Serial, Terminal


geigercounter01
ガイガーカウンタのカウントアップに合わせて表示内容を更新する仕様にしました
tag ci3-bg, geiger, geigercounter, si-3bg

geigercounter04
ネットワークアップデート機能とか、Pachubeへの情報登録とかの処理を追加しています
tag counter, geiger, sbm-20

Import this program

Terminal

Published 31 Dec 2009, by   user Simon Ford   tag No tags
Embed: (wiki syntax)

« Back to documentation index

You are viewing an out of date revision of Terminal! View latest revision

Show/hide line numbers Terminal.h Source File

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