HansDia:
OMG!!! You are not blind, that was the solution thank you very much. I just switch the pin 3 to the keyPad to pin 0
, and will that mean that my original code could work to? But I can understand that my new code is the best solution.
Again thanks!!!
Not pin 0.... this is used by Serial... pick something else...
No your original code had a wrongly terminated c-string , so behavior would have been arbitrary