![Internet of Things Projects with ESP32](https://wfqqreader-1252317822.image.myqcloud.com/cover/750/36698750/b_36698750.jpg)
上QQ阅读APP看书,第一时间看更新
Creating a project
To create a project, follow these steps:
- Create a project called lcddemo. Our main program is the lcddemo.c file.
- Download and copy a project from the TFT library for ESP32: https://github.com/loboris/ESP32_TFT_library. This library consists of the TFT LCD driver for ESP32. We can show text and drawings on the TFT LCD.
- Copy the contents of the components and tools folders into our project. The final result of our project structure can be seen in Figure 2-8:
![](https://epubservercos.yuewen.com/BAE446/19470380401498606/epubprivate/OEBPS/Images/55c7808a-e279-44d8-9cca-6a51c2cd418a.png?sign=1739394899-67N3PHg70j5NUT35ZH0QQjmBqFExoxkn-0-b79204592c6e8a1e366df1ef5e474aac)
Figure 2-8: Project structure for lcddemo
Now, let's write a program to display circles on the LCD to discuss the project's structure. Ensure that all external libraries are placed on the components folder, as shown in Figure 2-7.