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.
Dependents: UARTSnoop BaseJpegDecode_example
Fork of Terminal by
Diff: Terminal.h
- Revision:
- 0:2bf27af3c759
- Child:
- 1:96ae39e58792
diff -r 000000000000 -r 2bf27af3c759 Terminal.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Terminal.h Thu Dec 31 09:50:48 2009 +0000
@@ -0,0 +1,27 @@
+/* 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
