BayEOSArduino Library
Public Member Functions | Public Attributes | List of all members
UTFT Class Reference
Collaboration diagram for UTFT:
Collaboration graph
[legend]

Public Member Functions

 UTFT (byte model, int RS, int WR, int CS, int RST, int SER=0)
 
void InitLCD (byte orientation=LANDSCAPE)
 
void clrScr ()
 
void drawPixel (int x, int y)
 
void drawLine (int x1, int y1, int x2, int y2)
 
void fillScr (byte r, byte g, byte b)
 
void fillScr (word color)
 
void drawRect (int x1, int y1, int x2, int y2)
 
void drawRoundRect (int x1, int y1, int x2, int y2)
 
void fillRect (int x1, int y1, int x2, int y2)
 
void fillRoundRect (int x1, int y1, int x2, int y2)
 
void drawCircle (int x, int y, int radius)
 
void fillCircle (int x, int y, int radius)
 
void setColor (byte r, byte g, byte b)
 
void setColor (word color)
 
word getColor ()
 
void setBackColor (byte r, byte g, byte b)
 
void setBackColor (uint32_t color)
 
word getBackColor ()
 
void print (char *st, int x, int y, int deg=0)
 
void print (String st, int x, int y, int deg=0)
 
void printNumI (long num, int x, int y, int length=0, char filler=' ')
 
void printNumF (double num, byte dec, int x, int y, char divider='.', int length=0, char filler=' ')
 
void setFont (uint8_t *font)
 
uint8_t * getFont ()
 
uint8_t getFontXsize ()
 
uint8_t getFontYsize ()
 
void drawBitmap (int x, int y, int sx, int sy, bitmapdatatype data, int scale=1)
 
void drawBitmap (int x, int y, int sx, int sy, bitmapdatatype data, int deg, int rox, int roy)
 
void lcdOff ()
 
void lcdOn ()
 
void setContrast (char c)
 
int getDisplayXSize ()
 
int getDisplayYSize ()
 
void LCD_Writ_Bus (char VH, char VL, byte mode)
 
void LCD_Write_COM (char VL)
 
void LCD_Write_DATA (char VH, char VL)
 
void LCD_Write_DATA (char VL)
 
void LCD_Write_COM_DATA (char com1, int dat1)
 
void _hw_special_init ()
 
void setPixel (word color)
 
void drawHLine (int x, int y, int l)
 
void drawVLine (int x, int y, int l)
 
void printChar (byte c, int x, int y)
 
void setXY (word x1, word y1, word x2, word y2)
 
void clrXY ()
 
void rotateChar (byte c, int x, int y, int pos, int deg)
 
void _set_direction_registers (byte mode)
 
void _fast_fill_16 (int ch, int cl, long pix)
 
void _fast_fill_8 (int ch, long pix)
 
void _convert_float (char *buf, double num, int width, byte prec)
 

Public Attributes

byte fch
 
byte fcl
 
byte bch
 
byte bcl
 
byte orient
 
long disp_x_size
 
long disp_y_size
 
byte display_model
 
byte display_transfer_mode
 
byte display_serial_mode
 
regtype * P_RS
 
regtype * P_WR
 
regtype * P_CS
 
regtype * P_RST
 
regtype * P_SDA
 
regtype * P_SCL
 
regtype * P_ALE
 
regsize B_RS
 
regsize B_WR
 
regsize B_CS
 
regsize B_RST
 
regsize B_SDA
 
regsize B_SCL
 
regsize B_ALE
 
_current_font cfont
 
boolean _transparent
 

The documentation for this class was generated from the following files: