官术网_书友最值得收藏!

Creating a project

To create a project, follow these steps:

  1. Create a project called lcddemo. Our main program is the lcddemo.c file.
  2. 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. 
  3. 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:
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.

主站蜘蛛池模板: 象州县| 东乌珠穆沁旗| 阿拉善右旗| 十堰市| 凤庆县| 千阳县| 高邑县| 正镶白旗| 修文县| 吐鲁番市| 平陆县| 延庆县| 房产| 武清区| 青河县| 蓬溪县| 嵩明县| 泰安市| 含山县| 黄平县| 甘泉县| 乌恰县| 军事| 德格县| 安福县| 达拉特旗| 子长县| 双鸭山市| 定远县| 平和县| 邢台县| 甘谷县| 雷州市| 四子王旗| 浮梁县| 西贡区| 宜城市| 南京市| 湖南省| 门源| 当阳市|