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

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.

主站蜘蛛池模板: 临猗县| 汕头市| 如皋市| 雷州市| 莆田市| 阿拉善左旗| 开化县| 泾阳县| 德清县| 昔阳县| 镇原县| 长汀县| 金平| 肃北| 岱山县| 尼木县| 衡阳市| 华亭县| 扶余县| 来宾市| 漠河县| 大英县| 荃湾区| 兴仁县| 阿拉尔市| 红安县| 延长县| 比如县| 察雅县| 安宁市| 正安县| 柘城县| 郴州市| 集贤县| 中方县| 滨海县| 汝州市| 淮阳县| 大关县| 铜鼓县| 蓬溪县|