KEYPAD not function

i am using keypad model AK-1604-N-BBW. when i upload the code below, my keypad not function. how to operate this?

:confused:

i tried to upload the same coding but without sms coding, the keypad just work fine. but with the coding below, keypad is not working.