ESP8266
Public Member Functions | List of all members
TFT Class Reference

Public Member Functions

void sendCMD (unsigned char index)
 
void WRITE_DATA (unsigned char data)
 
void sendData (unsigned int data)
 
void WRITE_Package (unsigned int *data, unsigned char howmany)
 
unsigned char Read_Register (unsigned char Addr, unsigned char xParameter)
 
void TFTinit (void)
 
void setCol (unsigned int StartCol, unsigned int EndCol)
 
void setPage (unsigned int StartPage, unsigned int EndPage)
 
void setXY (unsigned int poX, unsigned int poY)
 
void setPixel (unsigned int poX, unsigned int poY, unsigned int color)
 
void fillScreen (unsigned int XL, unsigned int XR, unsigned int YU, unsigned int YD, unsigned int color)
 
void fillScreen (void)
 
unsigned char readID (void)
 
void drawChar (unsigned char ascii, unsigned int poX, unsigned int poY, unsigned int size, unsigned int fgcolor)
 
void drawString (char *string, unsigned int poX, unsigned int poY, unsigned int size, unsigned int fgcolor)
 
void fillRectangle (unsigned int poX, unsigned int poY, unsigned int length, unsigned int width, unsigned int color)
 
void drawLine (unsigned int x0, unsigned int y0, unsigned int x1, unsigned int y1, unsigned int color)
 
void drawVerticalLine (unsigned int poX, unsigned int poY, unsigned int length, unsigned int color)
 
void drawHorizontalLine (unsigned int poX, unsigned int poY, unsigned int length, unsigned int color)
 
void drawRectangle (unsigned int poX, unsigned int poY, unsigned int length, unsigned int width, unsigned int color)
 
void drawCircle (int poX, int poY, int r, unsigned int color)
 
void fillCircle (int poX, int poY, int r, unsigned int color)
 
void drawTraingle (int poX1, int poY1, int poX2, int poY2, int poX3, int poY3, unsigned int color)
 
unsigned char drawNumber (long long_num, unsigned int poX, unsigned int poY, unsigned int size, unsigned int fgcolor)
 
unsigned char drawFloat (float floatNumber, unsigned char decimal, unsigned int poX, unsigned int poY, unsigned int size, unsigned int fgcolor)
 
unsigned char drawFloat (float floatNumber, unsigned int poX, unsigned int poY, unsigned int size, unsigned int fgcolor)
 

Member Function Documentation

void TFT::drawChar ( unsigned char  ascii,
unsigned int  poX,
unsigned int  poY,
unsigned int  size,
unsigned int  fgcolor 
)
void TFT::drawCircle ( int  poX,
int  poY,
int  r,
unsigned int  color 
)
unsigned char TFT::drawFloat ( float  floatNumber,
unsigned char  decimal,
unsigned int  poX,
unsigned int  poY,
unsigned int  size,
unsigned int  fgcolor 
)
unsigned char TFT::drawFloat ( float  floatNumber,
unsigned int  poX,
unsigned int  poY,
unsigned int  size,
unsigned int  fgcolor 
)
void TFT::drawHorizontalLine ( unsigned int  poX,
unsigned int  poY,
unsigned int  length,
unsigned int  color 
)
void TFT::drawLine ( unsigned int  x0,
unsigned int  y0,
unsigned int  x1,
unsigned int  y1,
unsigned int  color 
)
INT8U TFT::drawNumber ( long  long_num,
unsigned int  poX,
unsigned int  poY,
unsigned int  size,
unsigned int  fgcolor 
)
void TFT::drawRectangle ( unsigned int  poX,
unsigned int  poY,
unsigned int  length,
unsigned int  width,
unsigned int  color 
)
void TFT::drawString ( char *  string,
unsigned int  poX,
unsigned int  poY,
unsigned int  size,
unsigned int  fgcolor 
)
void TFT::drawTraingle ( int  poX1,
int  poY1,
int  poX2,
int  poY2,
int  poX3,
int  poY3,
unsigned int  color 
)
void TFT::drawVerticalLine ( unsigned int  poX,
unsigned int  poY,
unsigned int  length,
unsigned int  color 
)
void TFT::fillCircle ( int  poX,
int  poY,
int  r,
unsigned int  color 
)
void TFT::fillRectangle ( unsigned int  poX,
unsigned int  poY,
unsigned int  length,
unsigned int  width,
unsigned int  color 
)
void TFT::fillScreen ( unsigned int  XL,
unsigned int  XR,
unsigned int  YU,
unsigned int  YD,
unsigned int  color 
)
void TFT::fillScreen ( void  )
unsigned char TFT::Read_Register ( unsigned char  Addr,
unsigned char  xParameter 
)
INT8U TFT::readID ( void  )
void TFT::sendCMD ( unsigned char  index)
void TFT::sendData ( unsigned int  data)
void TFT::setCol ( unsigned int  StartCol,
unsigned int  EndCol 
)
void TFT::setPage ( unsigned int  StartPage,
unsigned int  EndPage 
)
void TFT::setPixel ( unsigned int  poX,
unsigned int  poY,
unsigned int  color 
)
void TFT::setXY ( unsigned int  poX,
unsigned int  poY 
)
void TFT::TFTinit ( void  )
void TFT::WRITE_DATA ( unsigned char  data)
void TFT::WRITE_Package ( unsigned int *  data,
unsigned char  howmany 
)