Передача значения переменной в объект структуры

в этом коде я хочу передать значение массива переменных символов «pass» в объект «MyObject». Но я получаю эту ошибку.

    Arduino: 1.6.11 (Windows 8.1), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"

C:\Users\XXX\Desktop\EEPROM_put\EEPROM_put.ino: In function 'void setup()':

EEPROM_put:17: error: array must be initialized with a brace-enclosed initializer

};

^

exit status 1
array must be initialized with a brace-enclosed initializer

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

когда я меняю pass на *pass, результат EEPROM.get() равен 1 и 6 вместо 1, 62345, 7539514682.

#include <EEPROM.h>
struct MyObject {
boolean stat;
char password[6];
char mobile[11];
}; 

char pass[6]="62345";
void setup() {
Serial.begin(9600);
while (!Serial);
MyObject customVar = {
  1,
  pass,
  "7539514682"
 };
EEPROM.put(1, customVar);
Serial.print("Written custom data type!");
}

void loop() {

}

, 👍1