首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >经过验证的代码不会上传到Arduino Uno R3

经过验证的代码不会上传到Arduino Uno R3
EN

Stack Overflow用户
提问于 2012-08-15 11:07:37
回答 1查看 2K关注 0票数 1

所以我在邮件中得到了我的发光二极管矩阵,我试图从这个instructable http://www.instructables.com/id/Arduino-Processing-Audio-Spectrum-Analyzer/?ALLSTEPS上传代码,但我一直收到错误

代码语言:javascript
复制
ArduinoCode:2: error: 'ht1632c' does not name a type
ArduinoCode.cpp: In function 'void setup()':
ArduinoCode:11: error: 'dotmatrix' was not declared in this scope
ArduinoCode.cpp: In function 'void loop()':
ArduinoCode:35: error: 'dotmatrix' was not declared in this scope
ArduinoCode:35: error: 'BLACK' was not declared in this scope
ArduinoCode:41: error: 'GREEN' was not declared in this scope
ArduinoCode:107: error: 'ORANGE' was not declared in this scope
ArduinoCode:131: error: 'RED' was not declared in this scope
ArduinoCode:153: error: 'dotmatrix' was not declared in this scope

代码是http://www.instructables.com/files/orig/FSH/KZKA/GZ0BVJOC/FSHKZKAGZ0BVJOC.ino的,因为我仍然不知道如何在这里发布代码

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2012-08-15 20:53:03

您收到此错误消息是因为您的库文件夹中没有该文件(包含在程序中)。

在您提到的instructables中,它们有一个名为libary.zip文件的附件。下载并解压缩zip文件,并将内容复制到arduino库文件夹中。一旦你这样做了,你的代码应该会被正确编译。

票数 2
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/11963624

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档