所以我在邮件中得到了我的发光二极管矩阵,我试图从这个instructable http://www.instructables.com/id/Arduino-Processing-Audio-Spectrum-Analyzer/?ALLSTEPS上传代码,但我一直收到错误
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的,因为我仍然不知道如何在这里发布代码
发布于 2012-08-15 20:53:03
您收到此错误消息是因为您的库文件夹中没有该文件(包含在程序中)。
在您提到的instructables中,它们有一个名为libary.zip文件的附件。下载并解压缩zip文件,并将内容复制到arduino库文件夹中。一旦你这样做了,你的代码应该会被正确编译。
https://stackoverflow.com/questions/11963624
复制相似问题