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.
Dependencies: TFT_fonts mbed-os
Fork of newTFTLCD by
lcd_base.h File Reference
Base class for all LCD controller implementations. More...
Go to the source code of this file.
Data Structures | |
struct | Bitmap_struct |
Describes an image. More... | |
class | LCD |
Base class for LCD implementations. More... | |
Typedefs | |
typedef enum Orientation_enum | orientation_t |
Convenience shortcut for display orientation. | |
typedef enum ColorDepth_enum | colordepth_t |
Convenience shortcut for display color depth. | |
typedef enum Alignment_enum | align_t |
Convenience shortcut for text alignment. | |
typedef struct Bitmap_struct | bitmap_t |
Convenience shortcut bitmap type. | |
typedef BacklightPwmCtrl_enum | backlight_t |
Convenience shortcut for the backlight control type. | |
Enumerations | |
enum | Orientation_enum { LANDSCAPE_REV = 0 } |
enum | ColorDepth_enum { RGB16, RGB18, RGB24 } |
Color depth. More... | |
enum | Alignment_enum { LEFT = 0, CENTER = 9998, RIGHT = 9999 } |
Horizontal text alignment on the line. More... | |
enum | BacklightPwmCtrl_enum { Constant, Direct, Indirect } |
Detailed Description
Base class for all LCD controller implementations.
GNU Public License, v2. or later
Generic object painting and screen control.
This library is based on the Arduino/chipKIT UTFT library by Henning Karlsen, http://henningkarlsen.com/electronics/library.php?id=52
Copyright (C)2010-2012 Henning Karlsen. All right reserved.
Copyright (C)2012 Todor Todorov.
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to:
Free Software Foundation, Inc. 51 Franklin St, 5th Floor, Boston, MA 02110-1301, USA
Definition in file lcd_base.h.
Typedef Documentation
Convenience shortcut for text alignment.
Definition at line 632 of file lcd_base.h.
Convenience shortcut for the backlight control type.
Definition at line 692 of file lcd_base.h.
Convenience shortcut bitmap type.
Definition at line 664 of file lcd_base.h.
Convenience shortcut for display color depth.
Definition at line 618 of file lcd_base.h.
Convenience shortcut for display orientation.
Definition at line 604 of file lcd_base.h.
Enumeration Type Documentation
enum Alignment_enum |
Horizontal text alignment on the line.
- Enumerator:
Definition at line 623 of file lcd_base.h.
- Enumerator:
Definition at line 683 of file lcd_base.h.
enum ColorDepth_enum |
Color depth.
- Enumerator:
Definition at line 609 of file lcd_base.h.
enum Orientation_enum |
- Enumerator:
LANDSCAPE_REV Top row of the screen is at 12 o'clock.
Top row of the screen is at 9 o'clock. Top row of the screen is at 6 o'clock.
Definition at line 584 of file lcd_base.h.
Generated on Tue Jul 12 2022 16:01:48 by
