- 以下主要介绍一下用ST7735画图时的常用函数和常量
|
- Functions/函数
- 图形
- tft.drawFastHLine(x, y, w, color)
- tft.drawFastVLine(x, y, h, color)
- tft.drawLine(x0, y0, x1,y1, color)
- tft.drawRect(x, y, w, h, color)
- tft.fillRect(x, y, w, h, color)
- tft.drawCircle(x0, y0, r, color)
- tft.fillCircle(x0, y0, r, color)
- tft.drawTriangle(x0, y0, x1, y1, x2, y2, color)
- tft.fillTriangle(x0, y0, x1, y1, x2, y2, color)
- tft.drawRoundRect(x, y, w ,h, r, color)
- tft.fillRoundRect(x, y, w ,h, r, color)
- tft.fillScreen(color)
- 文字
}
|
|