This is a 2.2” TFT LCD Display Module(30Pin soldered) with a resolution of 128 * 128, which can be used to display colorful patterns and characters in a cycle and realize dynamic display effect. Based on ST7687S chip, the module is compatible with TFT 8K3963FPC. It does not include TP.
DFR0529: Fermion: 2.2” TFT SPI Interface LCD Display (Breakout)
Download the library ZIP file and unzip it to the Arduino folder of the library. (If you haven't download DFRobot display library before, you need to download it first to drive (https://github.com/DFRobot/DFRobot_Display))
/**
* @fn begin
* @brief Init function, initialize some parameters displayed on the screen, and enable display
* @return Error code
*/
int16_t begin();
/**
* @fn drawPixel
* @brief Draw point function, draw a point on the screen
* @param x x-coordinate
* @param y y-coordinate
* @param color pixel color
*/
void drawPixel(int16_t x, int16_t y, uint16_t color);
/**
* @fn fillScreen
* @brief Fill screen with a color
* @param color data in RGB565 format
*/
void fillScreen(uint16_t color);
/**
* @fn drawHLine
* @brief Draw a horizontal line with the starting point(x,y)
* @param x The coordinate of the starting point x on the x axis. Take the top left corner of the screen as the origin.
* @param y The coordinate of the starting point y on the y axis
* @param width The line width
* @param color The line color
*/
void drawHLine(int16_t x, int16_t y, int16_t width, uint16_t color);
/**
* @fn drawVLine
* @brief Draw a vertical line with the starting point(x,y)
* @param x The coordinate of the starting point x on the x axis. Take the top left corner of the screen as the origin.
* @param y The coordinate of the starting point y on the y axis
* @param width The line width
* @param color The line color
*/
void drawVLine(int16_t x, int16_t y, int16_t height, uint16_t color);
MCU | Work Well | Work Wrong | Untested | Remarks |
---|---|---|---|---|
FireBeetle-ESP32 | √ | |||
FireBeetle-ESP8266 | √ | |||
FireBeetle-BLE4.1 | √ | |||
Arduino uno | √ | |||
Arduino leonardo | √ |
Written by fengli(li.feng@dfrobot.com), 2022.03.25 (Welcome to our website)