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.
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 };
Generated on Tue Aug 2 2022 23:08:44 by
1.7.2