Keypad error

I think there is everything you need on this page: Arduino Playground - HomePage

Try the examples provided with the library .zip, see how it compile without errors and only then, try to modify it as you want... Good luck :wink: