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

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.

主站蜘蛛池模板: 登封市| 武强县| 汾西县| 余姚市| 尼勒克县| 刚察县| 长垣县| 黎城县| 吉首市| 寿阳县| 中牟县| 贵定县| 苍南县| 湖北省| 民丰县| 文水县| 杭州市| 尤溪县| 蕉岭县| 镇原县| 剑川县| 昌吉市| 苗栗县| 卓尼县| 三都| 凤凰县| 雅江县| 津市市| 安阳市| 高尔夫| 盐津县| 德庆县| 新巴尔虎左旗| 永川市| 巢湖市| 边坝县| 肥城市| 大兴区| 台前县| 甘泉县| 镇原县|