make code smaller

Unless you are using the due board:
Replace your

Serial.println("[Your text]");

and

Serial.print("[Your text]");

by

Serial.println(F("[Your text]"));

and

Serial.print(F("[Your text]"));

Best regards
Jantje