405Views8Replies

Author Options:

Adding Arduino Libraries Answered

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? 

8 Replies

user
steveastroukBest Answer (author)2012-09-08

have you got the case of the names right? its not password.h is it?

Select as Best AnswerUndo Best Answer

user
frollard (author)steveastrouk2012-09-08

+1

Also make sure the folders aren't nested

Select as Best AnswerUndo Best Answer

user
frollard (author)WWC2012-09-09

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

Select as Best AnswerUndo Best Answer

user
WWC (author)frollard2012-09-09

Yes that was the problem. To many folders. Fixed now, Thanks

Select as Best AnswerUndo Best Answer

user
WWC (author)2012-09-09

Fixed.
The files were in to far. In to many folders. I moved them out. Just inside the first folder.

Select as Best AnswerUndo Best Answer