1

So I just got me LED matrix in the mail and im trying to upload the code from this instructable http://www.instructables.com/id/Arduino-Processing-Audio-Spectrum-Analyzer/?ALLSTEPS but I keep getting the errors

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

The code is http://www.instructables.com/files/orig/FSH/KZKA/GZ0BVJOC/FSHKZKAGZ0BVJOC.ino Because I still have no clue how to post code here

1 Answer 1

2

You are getting this error message because you don't have the file (which is included from your program) in the libraries folder.

In the instructables that you mentioned they have an attachment called libary.zip file. Download and extract the zip file and copy the contents into the arduino libraries folder. Once you do it your code should compile properly.

Sign up to request clarification or add additional context in comments.

2 Comments

So it turns out that was the problem, I somehow put the libraries in my codes folder.
If this answer solves your problem, then make sure you mark it as the accepted answer. This will help others who are looking for unanswered questions to answer.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.