上一话搭建了可说是可以开发了
接下来想办法 让 屏幕显示想要的东西
但是报错:
**************************************************************************
* 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:
看下效果: