所以我只是在邮件中找到了LED矩阵,我试图从这个可以构建的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因为我仍然不知道如何在此处发布代码
答案 0 :(得分:2)
您收到此错误消息是因为您没有library文件夹中的文件(程序中包含该文件)。
在您提到的instructable中,他们有一个名为libary.zip的附件。下载并解压缩zip文件并将内容复制到arduino库文件夹中。一旦你这样做,你的代码应该正确编译。