my keypad prints symbols on the monitor serie

hi everyone, I program a few days ago keypad arduino one and all was well in the monitor serial number printed me but today I turned it on and when typing something on the keypad printed symbols, the code is the same

#include <Keypad.h>
#include <Password.h>
#include <Servo.h>

Servo myservo; // create servo object to control a servo
// twelve servo objects can be created on most boards

int pos = 0; // variable to store the servo position

String newPasswordString; //hold the new password
char newPassword[6]; //charater string of newPasswordString

//initialize password to 1234
//you can use password.set(newPassword) to overwrite it
Password password = Password( “1234” );

byte maxPasswordLength = 6;
byte currentPasswordLength = 0;
const byte ROWS = 4; // Four rows
const byte COLS = 4; // Four columns

//Define the keymap
char keys[ROWS][COLS] = {
{‘1’, ‘2’, ‘3’, ‘A’},
{‘4’, ‘5’, ‘6’, ‘B’},
{‘7’, ‘8’, ‘9’, ‘C’},
{’*’, ‘0’, ‘#’, ‘D’}
};

//// Connect keypad ROW0, ROW1, ROW2 and ROW3 to these Arduino pins.
byte rowPins[ROWS] = {9, 8, 7, 6}; //connect to row pinouts

// Connect keypad COL0, COL1, COL2 and COL3 to these Arduino pins.
byte colPins[COLS] = {5, 4, 3, 2}; //connect to column pinouts

// Create the Keypad
Keypad keypad = Keypad( makeKeymap(keys), rowPins, colPins, ROWS, COLS );

void setup() {
Serial.begin(3600);
myservo.attach(10); // attaches the servo on pin 9 to the servo object

}

void loop() {

char key = keypad.getKey();
if (key != NO_KEY) {
delay(60);
switch (key) {
case ‘A’: piso(); break;
case ‘B’: break;
case ‘C’: break;
case ‘D’: changePassword(); break;
case ‘#’: checkPassword(); break;
case ‘*’: resetPassword(); break;
default: processNumberKey(key);
}
}
}

void processNumberKey(char key) {
Serial.print(key);
currentPasswordLength++;
password.append(key);
if (currentPasswordLength == maxPasswordLength) {
checkPassword();
}
}

void piso() {

if (pos == 0)
{
pos = 100;
myservo.write(pos);
delay(1000);

}

else
{

pos = 0;
myservo.write(pos);
delay(1000);
;

}
}

void checkPassword() {
if (password.evaluate()) {
Serial.println(" OK.");
} else {
Serial.println(" Wrong password!");
}
resetPassword();
}

void resetPassword() {
password.reset();
currentPasswordLength = 0;
}

void changePassword() {
newPasswordString = “123”;
newPasswordString.toCharArray(newPassword, newPasswordString.length() + 1); //convert string to char array
password.set(newPassword);
resetPassword();
Serial.print("Password changed to ");
Serial.println(newPasswordString);
}

Have you checked the baud rate on your PC is the same as in your program?

Weedpharma

Serial.begin(3600);

Probably a typo.
Change it to 9600 and re-upload.
Leo..