YFROBOT创客社区

 找回密码
 立即注册

QQ登录

只需一步,快速开始

楼主: AllBlue
打印 上一主题 下一主题

Arduino入门教程—拓展实验篇十一 驱动12864液晶

  [复制链接]

该用户从未签到

楼主
发表于 2018-6-22 11:40:17 | 显示全部楼层
出现编译错误,是因为什么呢
Arduino:1.6.6 (Windows 10), 开发板:"Arduino/Genuino Uno"

C:\Users\Jason\Documents\Arduino\libraries\LCD12864RSPI\LCD12864RSPI.cpp:12:21: fatal error: wiring.h: No such file or directory

#include <wiring.h>

                     ^

compilation terminated.

exit status 1
编译有误。

  报告将会包含更多的信息
  "在编译时,输出详细信息"
  在 文件>首选项 中启用

点评

Arduino 自 1.0.5 和 1.5.x 開始不支援 wiring.h 所以, #include “wiring.h” 1 要換成 #include “Arduino.h” 1 還有, 如果有 #include “WProgram.h” 也是換成 #include “Arduino.h”  发表于 2018-6-22 13:58
回复 支持 反对

使用道具 举报

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

本版积分规则

QQ|小黑屋|联系我们|YFROBOT ( 苏ICP备20009901号-2  

GMT+8, 2024-5-20 03:50 , Processed in 0.047790 second(s), 34 queries .

Powered by Discuz! X3.1

© 2001-2013 Comsenz Inc.

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