diff --git a/docs/node-documentation/TFT-screen.md b/docs/node-documentation/TFT-screen.md index 82c19aa..50251f0 100644 --- a/docs/node-documentation/TFT-screen.md +++ b/docs/node-documentation/TFT-screen.md @@ -64,6 +64,36 @@ You can connect the wires to any pin except the vcc and the ground. The vcc and We aren't using the cs2 and the pen pin because we arent utilizing the touch function of the screen. +```mermaid +classDiagram + +writeText <|-- Adafruit_ST7796S_kbv +loop <-- writeText + +class writeText{ + +text + +color + +size + +posx + +posy + +writeText() +} + +class Adafruit_ST7796S_kbv{ + +fillScreen() + +fillRect() + +fillCircle() + +fillTriangle() + +fillRoundRect() + +drawChar() + +setTextSize() + +setTextColor() + +setCursor() + +println() +} +``` + ## Sources * https://www.tinytronics.nl/en/displays/tft/4-inch-tft-display-320*480-pixels-with-touchscreen-spi-st7796s Source for Driver * https://github.com/prenticedavid/Adafruit_ST7796S_kbv Download link for the library +