629Views8Replies
Adding Arduino Libraries
This sketch requires 3 libraries;
Password.h
Keypad.h
Servo.h.
The servo.h is in red, i suspect that librarie is recognizes and being used by the main sketch.
The other 2 are black and throw an error. The files are in the same place as the servo.h file but is not recognized by the main sketch.
How to include them so the sketch compiles?
Comments
Best Answer 8 years ago
have you got the case of the names right? its not password.h is it?
Answer 8 years ago
+1
Also make sure the folders aren't nested
Answer 8 years ago
Nested?
Answer 8 years ago
like arduino\lib\Password\Password\password.h
Make sure the code you want is in the root of the folder name.
arduino\lib\Password\password.h
Answer 8 years ago
Yes that was the problem. To many folders. Fixed now, Thanks
8 years ago
Fixed.
The files were in to far. In to many folders. I moved them out. Just inside the first folder.
Answer 8 years ago
nested.
Answer 8 years ago
Ah OK