"keypad" was not declared in this scope

Hi and welcome.

Some stuff to help you on your way (click!)