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

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.

主站蜘蛛池模板: 云龙县| 霍林郭勒市| 页游| 揭西县| 武定县| 广河县| 承德市| 郎溪县| 聂拉木县| 博爱县| 奉贤区| 揭阳市| 且末县| 墨脱县| 四会市| 黄骅市| 莱西市| 田林县| 普格县| 云阳县| 景东| 济南市| 新乐市| 白玉县| 泰顺县| 项城市| 云和县| 洪雅县| 青神县| 梓潼县| 丁青县| 洛浦县| 高淳县| 大宁县| 偏关县| 南澳县| 迁安市| 齐河县| 如东县| 临夏市| 长乐市|