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.
Fork of SPI_TFT_ILI9341 by
TextDisplay Class Reference
TextDisplay interface. More...
#include <TextDisplay.h>
Inherited by GraphicsDisplay.
Public Member Functions | |
| TextDisplay (const char *name=NULL) | |
| Create a TextDisplay interface. | |
| virtual void | character (int column, int row, int c)=0 |
| Output a character at the given position. | |
| virtual int | rows ()=0 |
| Return number if rows on TextDisplay. | |
| virtual int | columns ()=0 |
| Return number if columns on TextDisplay. | |
| virtual bool | claim (FILE *stream) |
| Redirect output from a stream (stoud, sterr) to display. | |
| virtual void | cls () |
| Clear screen. | |
Detailed Description
TextDisplay interface.
Definition at line 24 of file TextDisplay.h.
Constructor & Destructor Documentation
| TextDisplay | ( | const char * | name = NULL ) |
Create a TextDisplay interface.
- Parameters:
-
name The name used in the path to access the strean through the filesystem
Definition at line 8 of file TextDisplay.cpp.
Member Function Documentation
| virtual void character | ( | int | column, |
| int | row, | ||
| int | c | ||
| ) | [pure virtual] |
Output a character at the given position.
- Parameters:
-
column column where charater must be written row where character must be written c the character to be written to the TextDisplay
Implemented in SPI_TFT_ILI9341.
| bool claim | ( | FILE * | stream ) | [virtual] |
Redirect output from a stream (stoud, sterr) to display.
- Parameters:
-
stream stream that shall be redirected to the TextDisplay
Definition at line 65 of file TextDisplay.cpp.
| void cls | ( | void | ) | [virtual] |
| virtual int columns | ( | ) | [pure virtual] |
| virtual int rows | ( | ) | [pure virtual] |
Generated on Tue Jul 12 2022 15:35:36 by
1.7.2
