第二话 让屏幕显示想要的东西

上一话搭建了可说是可以开发了

接下来想办法 让 屏幕显示想要的东西

但是报错:

**************************************************************************
* Looking for Adafruit_ILI9341.h dependency? Check our library registry!
*
* CLI  > platformio lib search "header:Adafruit_ILI9341.h"
* Web  > https://registry.platformio.org/search?q=header:Adafruit_ILI9341.h
*
**************************************************************************

    2 | #include "Adafruit_ILI9341.h"
      |          ^~~~~~~~~~~~~~~~~~~~
compilation terminated.
*** [.pio/build/nodemcuv2/src/main.cpp.o] Error 1
============ [FAILED] Took 0.52 seconds ============

Environment    Status    Duration
-------------  --------  ------------
nodemcuv2      FAILED    00:00:00.523
======= 1 failed, 0 succeeded in 00:00:00.523 =======

 *  终端进程“platformio 'run', '--environment', 'nodemcuv2'”已终止,退出代码: 1。 
 *  终端将被任务重用,按任意键关闭。 

运行

platformio lib install "adafruit/Adafruit ILI9341"
 

或者:

没红就完事了:

 峨峨失败了,查了会儿资料在libdeps/nodemcuv2里面配置下TFT_eSPI

配置哪个User_Setup.h

我的场合

还要设置下:

报了个冲突,得把之前哪个9341库卸掉hh:

看下效果:

相关推荐

  1. 解决 Jupyter Notebook 中没有显示内核问题

    2024-03-21 16:58:01       36 阅读
  2. 2024年开视频号小店,需要准备什么东西

    2024-03-21 16:58:01       54 阅读

最近更新

  1. docker php8.1+nginx base 镜像 dockerfile 配置

    2024-03-21 16:58:01       98 阅读
  2. Could not load dynamic library ‘cudart64_100.dll‘

    2024-03-21 16:58:01       106 阅读
  3. 在Django里面运行非项目文件

    2024-03-21 16:58:01       87 阅读
  4. Python语言-面向对象

    2024-03-21 16:58:01       96 阅读

热门阅读

  1. Python 闭包

    2024-03-21 16:58:01       44 阅读
  2. 前端 js 经典:数组常用方法总结

    2024-03-21 16:58:01       40 阅读
  3. Flask开发webapi初步及过程问题探究

    2024-03-21 16:58:01       37 阅读
  4. MySQL中的锁(一)

    2024-03-21 16:58:01       42 阅读
  5. 编程参考 - stdint.h头文件的使用

    2024-03-21 16:58:01       39 阅读
  6. windows使用知识

    2024-03-21 16:58:01       36 阅读
  7. sonarqube使用指北(一)- 基于docker的安装部署

    2024-03-21 16:58:01       39 阅读
  8. 圆形饼图与环园饼图的区别js和echarts

    2024-03-21 16:58:01       39 阅读