keypad error: Keypad was not declared in this scope

good day in advance sorry for my english.

I started working with arduino and I have a problem with the code, when I try to upload it, it throws me an error and says Keypad was not declared in this scope, could someone help me solve it.

Keypad is defined in your program, however KEypad is not.

Variable and function names are all case sensitive, so Keypad, KEypad, KEYPAD and KeyPad are all different names as far as the compiler is concerned.

Also, looking at that line, the bracket after KEypad appears to be the wrong way around. that will probably also create an error.

2 Likes

PLease do not post screenshots of code. Please read the forum guidelines to see how to properly post code and some information on making a good post.
Use the IDE autoformat tool (ctrl-t or Tools, Auto format) before posting code in code tags.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.