My implementation of VT100 ESC-sequence utility
Diff: vt100.h
- Revision:
- 3:141a8a98c504
- Parent:
- 0:94253645a02a
- Child:
- 4:d2c3bf5d00f4
--- a/vt100.h Sun Aug 02 14:02:50 2015 +0000
+++ b/vt100.h Thu Feb 08 01:12:39 2018 +0000
@@ -1,5 +1,6 @@
#ifndef VT100_H
#define VT100_H included
+#include "mbed.h"
/** vt100 class
* Utility for handling text/letter on a terminal
@@ -31,13 +32,15 @@
* writing one for myself anyway.
*/
-class vt100 {
+class vt100 : public Serial {
public:
/** constructor
* @param baud baud rate
*/
vt100(int baud = 115200) ;
+ vt100(PinName tx_pin, PinName rx_pin, int baud=115200) ;
+
/** destructor */
~vt100(void) ;