ERM19264_UC1609  1.8.0
Arduino Eco-system Library for ERM19264 LCD driven by UC1609 controller.
Classes | Macros | Enumerations
ERM19264_graphics.h File Reference

ERM19264 LCD driven by UC1609 controller, header file for the graphics based functions. More...

#include "WProgram.h"

Go to the source code of this file.

Classes

class  ERM19264_graphics
 Graphics class to hold graphic related functions. More...
 

Macros

#define ERM19264_swap(a, b)   { int16_t t = a; a = b; b = t; }
 

Enumerations

enum  LCD_rotate_e : uint8_t { LCD_Degrees_0 = 0 , LCD_Degrees_90 , LCD_Degrees_180 , LCD_Degrees_270 }
 
enum  LCD_Return_Codes_e : uint8_t {
  LCD_Success = 0 , LCD_WrongFont = 2 , LCD_CharScreenBounds = 3 , LCD_CharFontASCIIRange = 4 ,
  LCD_CharArrayNullptr = 5 , LCD_BitmapNullptr = 7 , LCD_BitmapScreenBounds = 8 , LCD_BitmapLargerThanScreen = 9 ,
  LCD_BitmapVerticalSize = 10 , LCD_BitmapHorizontalSize = 11
}
 
enum  LCD_Font_Type_e : uint8_t {
  UC1609Font_Default = 1 , UC1609Font_Thick = 2 , UC1609Font_Seven_Seg = 3 , UC1609Font_Wide = 4 ,
  UC1609Font_Tiny = 5 , UC1609Font_Homespun = 6 , UC1609Font_Bignum = 7 , UC1609Font_Mednum = 8 ,
  UC1609Font_ArialRound = 9 , UC1609Font_ArialBold = 10 , UC1609Font_Mia = 11 , UC1609Font_Dedica = 12
}
 

Detailed Description

ERM19264 LCD driven by UC1609 controller, header file for the graphics based functions.

Project Name: ERM19264_UC1609 URL: https://github.com/gavinlyonsrepo/ERM19264_UC1609

Author
Gavin Lyons

Enumeration Type Documentation

◆ LCD_Font_Type_e

enum LCD_Font_Type_e : uint8_t

LCD Enum to define current font type selected

Enumerator
UC1609Font_Default 

Default Font, Full extended ASCII

UC1609Font_Thick 

Thick font , no lower case letters

UC1609Font_Seven_Seg 

Seven Segment Font

UC1609Font_Wide 

Wide font no lowercase letters

UC1609Font_Tiny 

Tiny font

UC1609Font_Homespun 

Homespun Font

UC1609Font_Bignum 

Bignum numbers only

UC1609Font_Mednum 

Mednum number only

UC1609Font_ArialRound 

Arial round font

UC1609Font_ArialBold 

Arial bold font

UC1609Font_Mia 

Mia font

UC1609Font_Dedica 

dedica font

◆ LCD_Return_Codes_e

enum LCD_Return_Codes_e : uint8_t

LCD Enum to define return codes from some text and bitmap functions

Enumerator
LCD_Success 

Success!

LCD_WrongFont 

Wrong Font selected for this method , There are two families of font included with different overloaded functions

LCD_CharScreenBounds 

Text Character is out of Screen bounds, Check x and y

LCD_CharFontASCIIRange 

Text Character is outside of chosen Fonts ASCII range, Check the selected Fonts ASCII range.

LCD_CharArrayNullptr 

Text Character Array is an invalid pointer object

LCD_BitmapNullptr 

The Bitmap data array is an invalid pointer object

LCD_BitmapScreenBounds 

The bitmap starting point is outside screen bounds check x and y

LCD_BitmapLargerThanScreen 

The Bitmap is larger than screen , check w and h

LCD_BitmapVerticalSize 

A vertical Bitmap's height must be divisible by 8.

LCD_BitmapHorizontalSize 

A horizontal Bitmap's width must be divisible by 8

◆ LCD_rotate_e

enum LCD_rotate_e : uint8_t

LCD rotate modes in degrees, Note this is separate from LCD command method for rotation.

Enumerator
LCD_Degrees_0 

No rotation 0 degrees

LCD_Degrees_90 

Rotation 90 degrees

LCD_Degrees_180 

Rotation 180 degrees

LCD_Degrees_270 

Rotation 270 degrees