Chris Hatfield / Mbed 2 deprecated WatchAndTrace

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers VT100.h Source File

VT100.h

00001 #pragma once
00002 #include <stdarg.h>
00003 #include "mbed.h"
00004 
00005 class CVT100
00006 {
00007 public:
00008     CVT100(void);
00009     ~CVT100(void);
00010     enum {Rows = 24, Columns = 80};
00011 //Attributes
00012 Serial* m_pVT100;
00013 
00014 //Interface
00015 void printf(const char *lpszFormat, ...);
00016 void printf(unsigned char nCol, unsigned char nRow, const char *lpszFormat, ...);
00017 void vprintf(const char *lpszFormat, va_list);
00018 void vprintf(unsigned char nCol, unsigned char nRow, const char *lpszFormat, va_list);
00019 void ClearScreen(void);
00020 void SaveCursor(void);
00021 void CursorOff(bool bOff = true);
00022 void RestoreCursor(void);
00023 void MoveXY(unsigned char nCol, unsigned char nRow);
00024 void SetScroll(unsigned char nStart, unsigned char nEnd);
00025 void PutString(const char *lpszOutput);
00026 char* FormatString(const char *lpszFormat);
00027 };