placeniom.blogg.se

Install tft
Install tft







There in turn is the folder TFT_eSPI and in it the file User_Setup.h, which we open with a text editor of our choice. In this folder is the subfolder libraries. You can find this in the preferences of the Arduino IDE. To do this, we open under Windows with the file manager in the Sketchbook directory. In order for the library to work with our ESP32, we have to manually adjust the following file once. In the search field of the library manager we enter " TFT_eSPI", and install " TFT_eSPI by Bodmer" in the current version. Alternatively, you can Key combination "Ctrl" + "Shift" + "I" use. This library is not part of the Arduino basic installation, but can be found in a few steps over the Library manager be installed in the Arduino IDE.Ībout the menu " sketch" -> " Incorporate the library" -> " Manage libraries. To be able to control the display, we use the library "TFT_ESPI" by Bodmer. So we assume that the current board definitions for the ESP32 are already installed. We have already shown you how to install the ESP32 via the Arduino IDE board manager in the article " Installing ESP32 via the board manager". Otherwise the installation is quite simple.

install tft

But for this you need a manually adapted library for the ESP32. Microcontrollers with ESP-32 can also control the TFT display via SPI.

install tft

Thanks to the SPI interface, the ST7735 controller chip, and the wide range of Arduino IDE libraries, it is very easy to implement in your own projects. Our low-cost 1.8 inch SPI TFT display allows to show information in colour with a resolution of 128 x 160 pixels.









Install tft