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

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.

主站蜘蛛池模板: 花莲县| 民和| 敦煌市| 建平县| 克东县| 惠安县| 伊春市| 个旧市| 胶南市| 崇仁县| 吉木乃县| 修水县| 花莲县| 历史| 衡阳县| 海门市| 清水河县| 鄂州市| 宜兴市| 临西县| 东丰县| 得荣县| 凤山市| 南城县| 仁寿县| 岱山县| 西乌珠穆沁旗| 高唐县| 哈巴河县| 孝感市| 宁陕县| 治县。| 龙门县| 来安县| 腾冲县| 枣庄市| 秦安县| 和平县| 新干县| 黎平县| 安顺市|