6391浏览
查看: 6391|回复: 3

[求助] 第一次玩这个,买了一个炸弹套件,无法使用求助

[复制链接]
我已经按照教程安装完毕,但是无法输入源代码,显示代码如下:
教程里有要让我下载一个什么库文件,但是网页已经失效无法下载。
在线求助中::






Arduino:1.8.4 (Windows 10), 开发板:"Arduino/Genuino Uno"

C:\Users\Administrator\Desktop\arduino-1.8.4\arduino-builder -dump-prefs -logger=machine -hardware C:\Users\Administrator\Desktop\arduino-1.8.4\hardware -tools C:\Users\Administrator\Desktop\arduino-1.8.4\tools-builder -tools C:\Users\Administrator\Desktop\arduino-1.8.4\hardware\tools\avr -built-in-libraries C:\Users\Administrator\Desktop\arduino-1.8.4\libraries -libraries C:\Users\Administrator\Documents\Arduino\libraries -fqbn=arduino:avr:uno -vid-pid=0X2341_0X0043 -ide-version=10804 -build-path C:\Users\ADMINI~1\AppData\Local\Temp\arduino_build_37048 -warnings=none -build-cache C:\Users\ADMINI~1\AppData\Local\Temp\arduino_cache_958423 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avrdude.path=C:\Users\Administrator\Desktop\arduino-1.8.4\hardware\tools\avr -prefs=runtime.tools.avr-gcc.path=C:\Users\Administrator\Desktop\arduino-1.8.4\hardware\tools\avr -prefs=runtime.tools.arduinoOTA.path=C:\Users\Administrator\Desktop\arduino-1.8.4\hardware\tools\avr -verbose C:\Users\Administrator\Desktop\bombgameuno\bombgameuno.ino
C:\Users\Administrator\Desktop\arduino-1.8.4\arduino-builder -compile -logger=machine -hardware C:\Users\Administrator\Desktop\arduino-1.8.4\hardware -tools C:\Users\Administrator\Desktop\arduino-1.8.4\tools-builder -tools C:\Users\Administrator\Desktop\arduino-1.8.4\hardware\tools\avr -built-in-libraries C:\Users\Administrator\Desktop\arduino-1.8.4\libraries -libraries C:\Users\Administrator\Documents\Arduino\libraries -fqbn=arduino:avr:uno -vid-pid=0X2341_0X0043 -ide-version=10804 -build-path C:\Users\ADMINI~1\AppData\Local\Temp\arduino_build_37048 -warnings=none -build-cache C:\Users\ADMINI~1\AppData\Local\Temp\arduino_cache_958423 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avrdude.path=C:\Users\Administrator\Desktop\arduino-1.8.4\hardware\tools\avr -prefs=runtime.tools.avr-gcc.path=C:\Users\Administrator\Desktop\arduino-1.8.4\hardware\tools\avr -prefs=runtime.tools.arduinoOTA.path=C:\Users\Administrator\Desktop\arduino-1.8.4\hardware\tools\avr -verbose C:\Users\Administrator\Desktop\bombgameuno\bombgameuno.ino
Using board 'uno' from platform in folder: C:\Users\Administrator\Desktop\arduino-1.8.4\hardware\arduino\avr
Using core 'arduino' from platform in folder: C:\Users\Administrator\Desktop\arduino-1.8.4\hardware\arduino\avr
Detecting libraries used...
"C:\Users\Administrator\Desktop\arduino-1.8.4\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10804 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR   "-IC:\Users\Administrator\Desktop\arduino-1.8.4\hardware\arduino\avr\cores\arduino" "-IC:\Users\Administrator\Desktop\arduino-1.8.4\hardware\arduino\avr\variants\standard" "C:\Users\ADMINI~1\AppData\Local\Temp\arduino_build_37048\sketch\bombgameuno.ino.cpp" -o "nul"
"C:\Users\Administrator\Desktop\arduino-1.8.4\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10804 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR   "-IC:\Users\Administrator\Desktop\arduino-1.8.4\hardware\arduino\avr\cores\arduino" "-IC:\Users\Administrator\Desktop\arduino-1.8.4\hardware\arduino\avr\variants\standard" "-IC:\Users\Administrator\Desktop\arduino-1.8.4\hardware\arduino\avr\libraries\Wire\src" "C:\Users\ADMINI~1\AppData\Local\Temp\arduino_build_37048\sketch\bombgameuno.ino.cpp" -o "nul"
"C:\Users\Administrator\Desktop\arduino-1.8.4\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10804 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR   "-IC:\Users\Administrator\Desktop\arduino-1.8.4\hardware\arduino\avr\cores\arduino" "-IC:\Users\Administrator\Desktop\arduino-1.8.4\hardware\arduino\avr\variants\standard" "-IC:\Users\Administrator\Desktop\arduino-1.8.4\hardware\arduino\avr\libraries\Wire\src" "C:\Users\ADMINI~1\AppData\Local\Temp\arduino_build_37048\sketch\bombgameuno.ino.cpp" -o "C:\Users\ADMINI~1\AppData\Local\Temp\arduino_build_37048\preproc\ctags_target_for_gcc_minus_e.cpp"
C:\Users\Administrator\Desktop\bombgameuno\bombgameuno.ino:10:31: fatal error: LiquidCrystal_I2C.h: No such file or directory

#include <LiquidCrystal_I2C.h>

                               ^

compilation terminated.

使用 1.0  版本的库 Wire 在文件夹: C:\Users\Administrator\Desktop\arduino-1.8.4\hardware\arduino\avr\libraries\Wire
exit status 1
为开发板 Arduino/Genuino Uno 编译时出错。


16区炸弹人  学徒
 楼主|

发表于 2017-12-2 20:42:20

现在通电后液晶屏只有很多方黑色方块,什么都没有
回复

使用道具 举报

大圈biubiu~  见习技师

发表于 2017-12-4 14:07:16

从报错信息看应该是库的问题,如果原链接的LiquidCrystal_I2C无法找到,可以试下这个链接下面的库文件。
https://www.dfrobot.com.cn/goods-626.html
如果烧录成功后无法正常显示,可以手动调节下屏幕后面的电位器,可以调下对比度。
截图201712041406374027.png
截图201712041407092120.png
回复

使用道具 举报

zhenglw  中级技师

发表于 2017-12-6 17:43:26

估计买到了劣货。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

为本项目制作心愿单
购买心愿单
心愿单 编辑
[[wsData.name]]

硬件清单

  • [[d.name]]
btnicon
我也要做!
点击进入购买页面
上海智位机器人股份有限公司 沪ICP备09038501号-4

© 2013-2024 Comsenz Inc. Powered by Discuz! X3.4 Licensed

mail