629Views8Replies

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? 

Comments

The forums are retiring in 2021 and are now closed for new topics and comments.
0
steveastrouk
steveastrouk

Best Answer 8 years ago

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

0
frollard
frollard

Answer 8 years ago

+1

Also make sure the folders aren't nested

0
WWC
WWC

Answer 8 years ago

Nested?

0
frollard
frollard

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

0
WWC
WWC

Answer 8 years ago

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

0
WWC
WWC

8 years ago

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

0
WWC
WWC

Answer 8 years ago

Ah OK