Updated documentation
This commit is contained in:
@@ -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.
|
||||
|
||||

|
||||
|
||||
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
|
||||
|
Reference in New Issue
Block a user