From 5c59dc033c2d72e860d5c36a4cf0b6af8affb786 Mon Sep 17 00:00:00 2001 From: sam Date: Fri, 1 Mar 2024 14:00:45 +0100 Subject: [PATCH] Updated documentation --- docs/node-documentation/TFT-screen.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/node-documentation/TFT-screen.md b/docs/node-documentation/TFT-screen.md index 03f76ea..82c19aa 100644 --- a/docs/node-documentation/TFT-screen.md +++ b/docs/node-documentation/TFT-screen.md @@ -56,4 +56,14 @@ To clear the screen for new text you can use the following code: ```cpp tft.fillScreen(0x0000); //clear the screen ``` +## Wiring +You can connect the wires to any pin except the vcc and the ground. The vcc and ground need to be connected to the 3.3v and ground of the esp32. The other pins can be connected to any pin of the esp32. +![TFT screen diagram](../assets/imagesSp2/IMG_1131.jpg) + +We aren't using the cs2 and the pen pin because we arent utilizing the touch function of the screen. + + +## 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