error 1

i changed the board now i get the fault code again from keypad

yOU rEALLY sHOULD gET yOUR sHIFT kEY fIXED.

You do NOT get a "fault code" from keypad. You MIGHT get an error message that the compiler doesn't know what a Keypad is, but that's to be expected since you haven't told it what a Keypad is. Are you missing a #include statement?