yangcheng
发表于: 2020-2-28 21:58:00 | 显示全部楼层

风筝 发表于 2020-2-27 08:52
可以在库管理器或者Github下载  https://github.com/fdebrabander/Arduino-LiquidCrystal-I2C-library ...

弄好了,对了,你的代码还有问题,运算超过三次就会死机
回复

使用道具 举报

MONI
发表于: 2020-3-2 11:56:13 | 显示全部楼层

确实是库不匹配,其他的程序用可以!这个代码不知为啥匹配这个才正常不报错...
回复

使用道具 举报

陆归曰
发表于: 2020-3-6 16:01:11 | 显示全部楼层

Arduino:1.5.6-r2 (Windows 8), 板:"Arduino Uno"

sketch_mar06a:18: error: 'Keypad' does not name a type
sketch_mar06a:19: error: 'LiquidCrystal_I2C' does not name a type
sketch_mar06a.ino: In function 'void setup()':
sketch_mar06a:28: error: 'lcd' was not declared in this scope
sketch_mar06a.ino: In function 'void loop()':
sketch_mar06a:39: error: 'myKeypad' was not declared in this scope
sketch_mar06a:40: error: 'NO_KEY' was not declared in this scope
sketch_mar06a:45: error: 'lcd' was not declared in this scope
sketch_mar06a:50: error: 'lcd' was not declared in this scope
sketch_mar06a:53: error: 'NO_KEY' was not declared in this scope
sketch_mar06a:57: error: 'lcd' was not declared in this scope
sketch_mar06a:63: error: 'NO_KEY' was not declared in this scope
sketch_mar06a:79: error: 'lcd' was not declared in this scope
sketch_mar06a:90: error: 'NO_KEY' was not declared in this scope
sketch_mar06a.ino: In function 'void scrollDisplay()':
sketch_mar06a:100: error: 'lcd' was not declared in this scope
sketch_mar06a:110: error: 'lcd' was not declared in this scope
sketch_mar06a.ino: In function 'void clr()':
sketch_mar06a:118: error: 'lcd' was not declared in this scope

  报告将会包含更多的信息
  "Show verbose output during compilation"
  在 文件>首选项 中启用
欸。。。。我的会出现这样的错误
回复

使用道具 举报

zh想睡觉
发表于: 2021-4-15 20:38:59 | 显示全部楼层

求助 为啥试好多次还是库出问题
回复

使用道具 举报

15357649052
发表于: 2021-6-5 18:53:54 | 显示全部楼层

lcd.begin();
这句错误
回复

使用道具 举报

HABBY
发表于: 2021-12-5 16:03:58 | 显示全部楼层

请问楼主,Fritzing中没有您图中的4×4键盘和I2C模块,怎么做出像您那样的Fritzing电路图呢
回复

使用道具 举报

小绿
发表于: 2021-12-9 20:29:05 | 显示全部楼层

已经上传成功了为什么显示屏没有显示任何东西呀,求救
回复

使用道具 举报

小绿
发表于: 2021-12-9 20:47:07 | 显示全部楼层

小绿 发表于 2021-12-9 20:29
已经上传成功了为什么显示屏没有显示任何东西呀,求救

已解决
回复

使用道具 举报

790071882
发表于: 2021-12-25 20:30:11 | 显示全部楼层

你好 我这里出现no matching function call to "liquidcrystal_I2C::begin()"是什么问题呀 库我也更新了 这里是未命名成功吗
回复

使用道具 举报

790071882
发表于: 2021-12-25 21:39:45 | 显示全部楼层

15357649052 发表于 2021-6-5 18:53
lcd.begin();
这句错误

我也是 你解决了吗
回复

使用道具 举报

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

本版积分规则

主题 700 | 回复: 1480



手机版|

GMT+8, 2024-4-16 23:39 , Processed in 0.121064 second(s), 5 queries , Gzip On, MemCache On. Powered by Discuz! X3.5

YiBoard一板网 © 2015-2022 地址:河北省石家庄市长安区高营大街 ( 冀ICP备18020117号 )

快速回复 返回顶部 返回列表