keypad 16 Button, please help

hello, i have a project with keypad button 4x4 matrix with arduino mega 2560, i try on pin analog A8-A15, and the result it works, but that can't show up the * and #, can you help me show the * and the # when i push the button ?
then can i run the keypad on pin digital 53,51,49, til 39 ? i was try to set to thats pin, but nothing happen,
thanks before

keypad16(1).ino (941 Bytes)

Try:-

void loop()
{
  char key = kpd.getKey();
  if(key)  // Check for a valid key.
  {
    switch (key)
    {
      case '*':
        digitalWrite(ledpin, LOW);
        Serial.println(key);
        break;
      case '#':
        digitalWrite(ledpin, HIGH);
        Serial.println(key);
        break;
      default:
        Serial.println(key);
    }
  }
}