a simple 32 character text writer with 4 keys, detect still pressed ?

Hi Boffin1,

Boffin1:
I tried including KeyState getState() but it says its not declared in this scope but it looks like a function of Keypad.h ?

Is there another option to if (key) that will not cause debounce hassles ?

You were correct in assuming that getState() is what you would use to solve your problem. It returns one of four states IDLE, PRESSED, HOLD, or RELEASED which you can test, eg.

  if ( kpd.getState() == HOLD ) {
      // reset your repeat timer
  }

I don't understand why you are getting a scope problem, though. The function is public and you should be able to use it. Can you show me an example of what you wrote when it gave you the compile error?